diff options
Diffstat (limited to 'src/logs-show.c')
-rw-r--r-- | src/logs-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logs-show.c b/src/logs-show.c index d178f95f94..e28fe8fa21 100644 --- a/src/logs-show.c +++ b/src/logs-show.c @@ -359,7 +359,7 @@ int show_journal_by_service( if (!prefix) prefix = ""; - if (asprintf(&m, "_SYSTEMD_SERVICE=%s", service) < 0) { + if (asprintf(&m, "_SYSTEMD_UNIT=%s", service) < 0) { r = -ENOMEM; goto finish; } |