aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r--sysklogd/logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 359ac3acf..1e0384c09 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -77,14 +77,14 @@ static int pencode(char *s)
;
if (*s) {
*s = '\0';
- fac = decode(save, facilitynames);
+ fac = decode(save, bb_facilitynames);
if (fac < 0)
bb_error_msg_and_die("unknown %s name: %s", "facility", save);
*s++ = '.';
} else {
s = save;
}
- lev = decode(s, prioritynames);
+ lev = decode(s, bb_prioritynames);
if (lev < 0)
bb_error_msg_and_die("unknown %s name: %s", "priority", save);
return ((lev & LOG_PRIMASK) | (fac & LOG_FACMASK));