svn commit: trunk/busybox: sysklogd util-linux

vda at busybox.net vda at busybox.net
Fri Nov 23 23:39:01 UTC 2007


Author: vda
Date: 2007-11-23 15:39:01 -0800 (Fri, 23 Nov 2007)
New Revision: 20518

Log:
fix buglets found by randomconfig



Modified:
   trunk/busybox/sysklogd/logger.c
   trunk/busybox/util-linux/Config.in


Changeset:
Modified: trunk/busybox/sysklogd/logger.c
===================================================================
--- trunk/busybox/sysklogd/logger.c	2007-11-23 23:37:19 UTC (rev 20517)
+++ trunk/busybox/sysklogd/logger.c	2007-11-23 23:39:01 UTC (rev 20518)
@@ -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);

Modified: trunk/busybox/util-linux/Config.in
===================================================================
--- trunk/busybox/util-linux/Config.in	2007-11-23 23:37:19 UTC (rev 20517)
+++ trunk/busybox/util-linux/Config.in	2007-11-23 23:39:01 UTC (rev 20518)
@@ -213,6 +213,7 @@
 config HD
 	bool "hd"
 	default n
+	select HEXDUMP
 	help
 	  hd is an alias to hexdump -C.
 




More information about the busybox-cvs mailing list