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/pager.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/pager.c')
-rw-r--r-- | ext2fs/pager.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c index bf57d9ed..07041b72 100644 --- a/ext2fs/pager.c +++ b/ext2fs/pager.c @@ -1,8 +1,8 @@ /* Pager for ext2fs - Copyright (C) 1994, 95, 96, 97, 98, 99 Free Software Foundation, Inc. + Copyright (C) 1994,95,96,97,98,99,2000 Free Software Foundation, Inc. - Converted for ext2fs by Miles Bader <miles@gnu.ai.mit.edu> + Converted for ext2fs by Miles Bader <miles@gnu.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -300,7 +300,7 @@ pending_blocks_write (struct pending_blocks *pb) block_t dev_block = pb->block << log2_dev_blocks_per_fs_block; size_t length = pb->num << log2_block_size, amount; - ext2_debug ("writing block %lu[%d]", pb->block, pb->num); + ext2_debug ("writing block %u[%ld]", pb->block, pb->num); if (pb->offs > 0) /* Put what we're going to write into a page-aligned buffer. */ @@ -632,8 +632,8 @@ diskfs_grow (struct node *node, off_t size, struct protid *cred) ? new_end_block : old_page_end_block); - ext2_debug ("extending writable page %u by %ld blocks" - "; first new block = %lu", + ext2_debug ("extending writable page %u by %d blocks" + "; first new block = %u", trunc_page (old_size), writable_end - end_block, end_block); |