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/getblk.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/getblk.c')
-rw-r--r-- | ext2fs/getblk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext2fs/getblk.c b/ext2fs/getblk.c index 5dea8f30..5858daba 100644 --- a/ext2fs/getblk.c +++ b/ext2fs/getblk.c @@ -1,6 +1,6 @@ /* File block to disk block mapping routines - Copyright (C) 1995,96,99 Free Software Foundation, Inc. + Copyright (C) 1995,96,99,2000 Free Software Foundation, Inc. Converted to work under the hurd by Miles Bader <miles@gnu.org> @@ -78,7 +78,7 @@ ext2_alloc_block (struct node *node, block_t goal, int zero) { result = node->dn->info.i_prealloc_block++; node->dn->info.i_prealloc_count--; - ext2_debug ("preallocation hit (%lu/%lu) => %lu", + ext2_debug ("preallocation hit (%lu/%lu) => %u", ++alloc_hits, ++alloc_attempts, result); } else @@ -154,7 +154,7 @@ inode_getblk (struct node *node, int nr, int create, int zero, *result = ext2_alloc_block (node, goal, zero); - ext2_debug ("%screate, hint = %lu, goal = %lu => %lu", + ext2_debug ("%screate, hint = %u, goal = %u => %u", create ? "" : "no", hint, goal, *result); if (!*result) @@ -248,7 +248,7 @@ ext2_getblk (struct node *node, block_t block, int create, block_t *disk_block) * allocations use the same goal zone */ - ext2_debug ("block = %lu, next = %lu, goal = %lu", block, + ext2_debug ("block = %u, next = %u, goal = %u", block, node->dn->info.i_next_alloc_block, node->dn->info.i_next_alloc_goal); |