summaryrefslogtreecommitdiff
path: root/src/coredump
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-09-27 01:18:48 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-09-28 23:49:01 +0200
commit554ed50f90a4cea4ed536b1bea598af045953c67 (patch)
tree41c592ef88a393c97e45051c8722e8308be44940 /src/coredump
parentcfeead6c77792a8cec83e4d5673698aef3e4d817 (diff)
coredumpctl: report user unit properly
Diffstat (limited to 'src/coredump')
-rw-r--r--src/coredump/coredumpctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coredump/coredumpctl.c b/src/coredump/coredumpctl.c
index 45ce31e9bb..0640816989 100644
--- a/src/coredump/coredumpctl.c
+++ b/src/coredump/coredumpctl.c
@@ -477,7 +477,7 @@ static int print_info(FILE *file, sd_journal *j, bool need_space) {
if (unit)
fprintf(file, " Unit: %s\n", unit);
if (user_unit)
- fprintf(file, " User Unit: %s\n", unit);
+ fprintf(file, " User Unit: %s\n", user_unit);
if (slice)
fprintf(file, " Slice: %s\n", slice);
if (session)