compile warning

Joe (joeja@mindspring.com)
Sat, 13 Nov 1999 19:33:27 -0500


I got the following warning while compiling 2.2.13 so I fixed it.. it is
no biug deal it is in a printk........

error
-----------------------------------------
setup.c: In function `setup_arch':
setup.c:370: warning: unsigned int format, long unsigned int arg (arg 2)

--------------------------------------

patch is below
---------------------------------------

--- ./setup.c Sat Nov 13 19:30:11 1999
+++ /usr/src/linux-2.2.memptch/arch/i386/kernel/setup.c Sat Nov 13
19:09:03 1999
@@ -366,7 +366,7 @@
/* Zero is valid according to the BIOS weenies
*/
if(i386_endbase)
{
- printk(KERN_NOTICE "Ignoring bogus EBDA
pointer %X\n",
+ printk(KERN_NOTICE "Ignoring bogus EBDA
pointer %lu\n",
i386_endbase);
}
i386_endbase = BIOS_ENDBASE;

--
Joe Acosta

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/