aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-11-23 23:39:01 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-11-23 23:39:01 +0000
commitd2023283ac87737cf0fbd77f4cbb1bb7b390009d (patch)
treedced57f559932ada4fe8503b3c588b3f7cd9c00b
parent1da0ad13fbe3175681943722e39b258ecbae96f6 (diff)
downloadbusybox-w32-d2023283ac87737cf0fbd77f4cbb1bb7b390009d.tar.gz
busybox-w32-d2023283ac87737cf0fbd77f4cbb1bb7b390009d.tar.bz2
busybox-w32-d2023283ac87737cf0fbd77f4cbb1bb7b390009d.zip
fix buglets found by randomconfig
-rw-r--r--sysklogd/logger.c4
-rw-r--r--util-linux/Config.in1
2 files changed, 3 insertions, 2 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 60eac6ae6..970b05dc6 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -39,9 +39,9 @@
39 * 39 *
40 * Original copyright notice is retained at the end of this file. 40 * Original copyright notice is retained at the end of this file.
41 */ 41 */
42static int decode(char *name, CODE * codetab) 42static int decode(char *name, const CODE *codetab)
43{ 43{
44 CODE *c; 44 const CODE *c;
45 45
46 if (isdigit(*name)) 46 if (isdigit(*name))
47 return atoi(name); 47 return atoi(name);
diff --git a/util-linux/Config.in b/util-linux/Config.in
index 8b0bbd65d..8ec466bb8 100644
--- a/util-linux/Config.in
+++ b/util-linux/Config.in
@@ -213,6 +213,7 @@ config HEXDUMP
213config HD 213config HD
214 bool "hd" 214 bool "hd"
215 default n 215 default n
216 select HEXDUMP
216 help 217 help
217 hd is an alias to hexdump -C. 218 hd is an alias to hexdump -C.
218 219