diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-10 04:54:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-10 04:54:55 +0000 |
commit | 9823009459d091ec9a8be8d4c66ba73633587544 (patch) | |
tree | aab7da530972d5e09c43d3f84db229d288f7e26e /ext2fs/balloc.c | |
parent | 2d72dc7d14cbd567340622c0f773932faba10704 (diff) |
2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
* balloc.c (ext2_free_blocks, ext2_new_block): Fix formats to avoid
-Wformat warnings.
* getblk.c (ext2_alloc_block, inode_getblk, ext2_getblk): Likewise.
* ialloc.c (ext2_count_free_inodes): Likewise.
* truncate.c (trunc_direct): Likewise.
* pager.c (pending_blocks_write, diskfs_grow): Likewise.
Diffstat (limited to 'ext2fs/balloc.c')
-rw-r--r-- | ext2fs/balloc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext2fs/balloc.c b/ext2fs/balloc.c index 437febaa..a53e1116 100644 --- a/ext2fs/balloc.c +++ b/ext2fs/balloc.c @@ -1,6 +1,6 @@ /* Block allocation routines - Copyright (C) 1995, 1999 Free Software Foundation, Inc. + Copyright (C) 1995,99,2000 Free Software Foundation, Inc. Converted to work under the hurd by Miles Bader <miles@gnu.org> @@ -74,7 +74,7 @@ ext2_free_blocks (block_t block, unsigned long count) return; } - ext2_debug ("freeing block %lu[%lu]", block, count); + ext2_debug ("freeing block %u[%lu]", block, count); do { @@ -162,7 +162,7 @@ ext2_new_block (block_t goal, } #endif - ext2_debug ("goal=%lu", goal); + ext2_debug ("goal=%u", goal); repeat: /* @@ -341,7 +341,7 @@ got_block: } gdp->bg_free_blocks_count -= *prealloc_count; sblock->s_free_blocks_count -= *prealloc_count; - ext2_debug ("preallocated a further %lu bits", *prealloc_count); + ext2_debug ("preallocated a further %u bits", *prealloc_count); } #endif @@ -394,7 +394,7 @@ ext2_count_free_blocks () i, gdp->bg_free_blocks_count, x); bitmap_count += x; } - printf ("ext2_count_free_blocks: stored = %lu, computed = %lu, %lu", + printf ("ext2_count_free_blocks: stored = %u, computed = %lu, %lu", sblock->s_free_blocks_count, desc_count, bitmap_count); spin_unlock (&global_lock); return bitmap_count; |