summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-01-18 15:10:46 +0000
committerstas <stas@FreeBSD.org>2009-01-18 15:10:46 +0000
commit963ae12224cd98dd95013e6649729f830eb6aa90 (patch)
tree55110860391c991a5c6286d99142248835aced05 /sys/gnu/fs
parent4bddbf2189c94743d9afd39da5d97f28c320d07c (diff)
downloadFreeBSD-src-963ae12224cd98dd95013e6649729f830eb6aa90.zip
FreeBSD-src-963ae12224cd98dd95013e6649729f830eb6aa90.tar.gz
- Eliminate warnings in debug print macros by explicitly converting all
field to unsigned long.
Diffstat (limited to 'sys/gnu/fs')
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index ee828cf..5f4a84a 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -400,7 +400,7 @@ static int compute_sb_data(devvp, es, fs)
#if 1
#define V(v)
#else
-#define V(v) printf(#v"= %d\n", fs->v);
+#define V(v) printf(#v"= %lu\n", (unsigned long)fs->v);
#endif
fs->s_blocksize = EXT2_MIN_BLOCK_SIZE << es->s_log_block_size;
OpenPOWER on IntegriCloud