lkml.org 
[lkml]   [1999]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectanoying 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.025 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site