I have been getting this annoying warning message when compiling the
kernel so I fixed it

the message is as follows :

rd.c: In function `rd_load_image':
rd.c:521: warning: int format, long int arg (arg 3)

here is a patch that removes teh message.. I have gotton it since 2.2.5
it is nothing really big, just really annoying


--- drivers/block/rd.c  Thu Apr 29 14:53:41 1999
+++ drivers/block/rd.c  Thu Aug  5 20:39:56 1999
@@ -517,7 +517,7 @@
        }

        if (nblocks > (rd_length[unit] >> RDBLK_SIZE_BITS)) {
-               printk("RAMDISK: image too big! (%d/%d blocks)\n",
+               printk("RAMDISK: image too big! (%d/%lu blocks)\n",
                       nblocks, rd_length[unit] >> RDBLK_SIZE_BITS);
                goto done;
        }


I hope this make it into 2.2.11

--
Joseph Acosta ........ SMP Linux 2.2.10 / RedHat 6.0 / SMP Windows NT 4.0




-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to