X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Flogs-show.c;h=e33824be4a0a704c57f263b313aa80e92c3485c2;hb=592fd144ae313855f48d0ca52a103013b41e5d59;hp=04e1165191068b7494730fa99ebe49d2734200c9;hpb=affcf189153714f0de4d0986d18e2bc1b35c1b20;p=elogind.git diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index 04e116519..e33824be4 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);