lkml.org 
[lkml]   [2008]   [Jan]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ndiswrapper and GPL-only symbols redux
FromAndi Kleen <>
DateWed, 30 Jan 2008 07:03:05 +0100
Pavel Roskin <proski@gnu.org> writes:
>   */
> @@ -162,6 +163,7 @@ const char *print_tainted(void)
>  	if (tainted) {
>  		snprintf(buf, sizeof(buf), "Tainted: %c%c%c%c%c%c%c%c",
>  			tainted & TAINT_PROPRIETARY_MODULE ? 'P' : 'G',
> +			tainted & TAINT_BLOB_WRAPPER ? 'W' : ' ',


Are you sure you don't need to add a new '%c' to the format string too?
I think gcc should have warned.

-Andi

>  			tainted & TAINT_FORCED_MODULE ? 'F' : ' ',
>  			tainted & TAINT_UNSAFE_SMP ? 'S' : ' ',
>  			tainted & TAINT_FORCED_RMMOD ? 'R' : ' ',
>



\
 
 \ /
  Last update: 2008-01-30 07:05    [from the cache]
©2003-2008