Messages in this thread Patch in this message | | | Date | Thu, 05 Aug 1999 20:57:24 -0400 | From | Joe <> | Subject | anoying warning message |
| |
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
- 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/
| |