summaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
authorMatt Kraai2001-01-31 19:00:21 +0000
committerMatt Kraai2001-01-31 19:00:21 +0000
commitdd19c6990496023fe23fefef8f1798740f7d39c6 (patch)
tree3933adefa4171173db78fa2389146ac89f4edb86 /sysklogd/logger.c
parent63ec2732454a0c973305794e185e488106f6b282 (diff)
downloadbusybox-dd19c6990496023fe23fefef8f1798740f7d39c6.zip
busybox-dd19c6990496023fe23fefef8f1798740f7d39c6.tar.gz
Removed trailing \n from error_msg{,_and_die} messages.
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 1ab868d..85c63b8 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -87,14 +87,14 @@ static int pencode(char *s)
*s = '\0';
fac = decode(save, facilitynames);
if (fac < 0)
- error_msg_and_die("unknown facility name: %s\n", save);
+ error_msg_and_die("unknown facility name: %s", save);
*s++ = '.';
} else {
s = save;
}
lev = decode(s, prioritynames);
if (lev < 0)
- error_msg_and_die("unknown priority name: %s\n", save);
+ error_msg_and_die("unknown priority name: %s", save);
return ((lev & LOG_PRIMASK) | (fac & LOG_FACMASK));
}