diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-16 21:54:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-16 21:54:17 +0200 |
commit | 5b6319dceedd81f3f1ce7eb70ea5defaef43bcec (patch) | |
tree | 0298a9a610482956971a07830f66b8dd051f4bee /src/log.c | |
parent | execute: setup namespace after doing NSS calls (diff) | |
download | systemd-5b6319dceedd81f3f1ce7eb70ea5defaef43bcec.tar.xz systemd-5b6319dceedd81f3f1ce7eb70ea5defaef43bcec.zip |
service: optionally call into PAM when dropping priviliges
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -267,7 +267,7 @@ static int write_to_syslog( zero(iovec); IOVEC_SET_STRING(iovec[0], header_priority); IOVEC_SET_STRING(iovec[1], header_time); - IOVEC_SET_STRING(iovec[2], __progname); + IOVEC_SET_STRING(iovec[2], program_invocation_short_name); IOVEC_SET_STRING(iovec[3], header_pid); IOVEC_SET_STRING(iovec[4], buffer); @@ -302,7 +302,7 @@ static int write_to_kmsg( zero(iovec); IOVEC_SET_STRING(iovec[0], header_priority); - IOVEC_SET_STRING(iovec[1], __progname); + IOVEC_SET_STRING(iovec[1], program_invocation_short_name); IOVEC_SET_STRING(iovec[2], header_pid); IOVEC_SET_STRING(iovec[3], buffer); IOVEC_SET_STRING(iovec[4], "\n"); |