diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-01-04 15:35:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-04 15:35:30 +0100 |
commit | 94fb446e55babb713fb24850455627acf30d999b (patch) | |
tree | b69d30f7e36ce6b288fb3df5f2d699c83a1f835e /src/logs-show.c | |
parent | e91af489a25e8bb65016a63f533ae28a505119ef (diff) |
journald: store _SYSTEMD_UNIT= instead of _SYSTEMD_SERVICE= field, since processes might also be related to mount, swap or socket units, not just services
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; } |