diff options
author | stas <stas@FreeBSD.org> | 2009-01-18 15:10:46 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2009-01-18 15:10:46 +0000 |
commit | 963ae12224cd98dd95013e6649729f830eb6aa90 (patch) | |
tree | 55110860391c991a5c6286d99142248835aced05 /sys/gnu | |
parent | 4bddbf2189c94743d9afd39da5d97f28c320d07c (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 2 |
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; |