patch-2.1.17 linux/kernel/printk.c

Next file: linux/kernel/sys.c
Previous file: linux/kernel/panic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/kernel/printk.c linux/kernel/printk.c
@@ -153,7 +153,7 @@
 	va_list args;
 	int i;
 	char *msg, *p, *buf_end;
-	static char msg_level = -1;
+	static signed char msg_level = -1;
 	long flags;
 
 	save_flags(flags);
@@ -216,7 +216,7 @@
 	int	i,j;
 	int	p = log_start;
 	char	buf[16];
-	char	msg_level = -1;
+	signed char msg_level = -1;
 	char	*q;
 
 	console_print_proc = proc;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov