Re: Kernel printk format string compression: C syntax problem

Timothy Miller (miller@techsource.com)
Fri, 06 Jun 2003 14:50:59 -0400


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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/