summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorDenis Vlasenko2007-11-23 23:39:01 +0000
committerDenis Vlasenko2007-11-23 23:39:01 +0000
commitd2023283ac87737cf0fbd77f4cbb1bb7b390009d (patch)
treedced57f559932ada4fe8503b3c588b3f7cd9c00b /sysklogd
parent1da0ad13fbe3175681943722e39b258ecbae96f6 (diff)
downloadbusybox-d2023283ac87737cf0fbd77f4cbb1bb7b390009d.zip
busybox-d2023283ac87737cf0fbd77f4cbb1bb7b390009d.tar.gz
fix buglets found by randomconfig
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 60eac6a..970b05d 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -39,9 +39,9 @@
*
* Original copyright notice is retained at the end of this file.
*/
-static int decode(char *name, CODE * codetab)
+static int decode(char *name, const CODE *codetab)
{
- CODE *c;
+ const CODE *c;
if (isdigit(*name))
return atoi(name);