diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index 04e11651910..e33824be4a0 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);