summaryrefslogtreecommitdiff
path: root/src/execute.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-31 21:22:44 +0200
committerLennart Poettering <lennart@poettering.net>2011-03-31 21:22:44 +0200
commit7d76f312889d54dcfe6fdde6eb055e890e7a615b (patch)
tree7ef1439ab07d28ca0a530d5643eec5bf0de33a40 /src/execute.c
parent29db583471f019ed9939a90966b3e194a9560e7e (diff)
log: fix shifting of facilities
Diffstat (limited to 'src/execute.c')
-rw-r--r--src/execute.c2
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) {