diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-04 00:28:33 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-04 00:28:33 +0100 |
commit | 1248e84008028ae54326c565fcc65dcbce3556ad (patch) | |
tree | 3092d4b41fe167481989838c9e80ad57cc90c649 /src | |
parent | 5034c7bcdfc4493ed3c30722e9d897c8da78fede (diff) |
journal: when dumping log data with missing COMM fields, show "unknown" instead
A small readability improvement...
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/logs-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index 04e1165191..e33824be4a 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -365,7 +365,7 @@ static int output_short( fprintf(f, " %.*s", (int) comm_len, comm); n += comm_len + 1; } else - fputc(' ', f); + fputs(" unknown", f); if (pid && shall_print(pid, pid_len, flags)) { fprintf(f, "[%.*s]", (int) pid_len, pid); |