[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] [PATCH] Cosmetic bugfix
Hi,
one of debug outputs produced garbage instead of correct line number, patch attached.
--
MiKRO / Mystic Bytes
http://mikro.atari.org
Index: ./sys/block_IO.c
===================================================================
RCS file: /mint/freemint/sys/block_IO.c,v
retrieving revision 1.22
diff -u -r1.22 block_IO.c
--- ./sys/block_IO.c 13 Jan 2010 17:13:49 -0000 1.22
+++ ./sys/block_IO.c 9 Jan 2011 17:54:23 -0000
@@ -1474,7 +1474,7 @@
count = (size * 1024L) / cache.max_size;
if (!count)
{
- BIO_ALERT (("block_IO []: %s, %ld: Specified cache size too small (%li).", __FILE__, __LINE__, size));
+ BIO_ALERT (("block_IO []: %s, %ld: Specified cache size too small (%li).", __FILE__, (long) __LINE__, size));
return EBADARG;
}