diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-31 21:22:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-31 21:22:44 +0200 |
commit | 7d76f312889d54dcfe6fdde6eb055e890e7a615b (patch) | |
tree | 7ef1439ab07d28ca0a530d5643eec5bf0de33a40 /src/execute.c | |
parent | 29db583471f019ed9939a90966b3e194a9560e7e (diff) |
log: fix shifting of facilities
Diffstat (limited to 'src/execute.c')
-rw-r--r-- | src/execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execute.c b/src/execute.c index b7ae522692..80c649f1c6 100644 --- a/src/execute.c +++ b/src/execute.c @@ -1650,7 +1650,7 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) { fprintf(f, "%sSyslogFacility: %s\n" "%sSyslogLevel: %s\n", - prefix, log_facility_to_string(LOG_FAC(c->syslog_priority)), + prefix, log_facility_unshifted_to_string(c->syslog_priority >> 3), prefix, log_level_to_string(LOG_PRI(c->syslog_priority))); if (c->capabilities) { |