Re: Kernel printk format string compression: C syntax problem

From: Timothy Miller (
Date: Fri Jun 06 2003 - 13:50:59 EST

Bryan O'Sullivan wrote:

> No. Look at the __attribute__ on printk in include/linux/kernel.h. GCC
> believes that printk takes a printf-style format string as its first
> argument, but you've mangled the string so that the number of format
> specifiers doesn't match the number of arguments.

Oh! So GCC is trying to be smart about printf format strings? Cool.
Never mind then. :)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:31 EST