From 9823009459d091ec9a8be8d4c66ba73633587544 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 10 Mar 2000 04:54:55 +0000 Subject: 2000-03-09 Roland McGrath * 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. --- ext2fs/pager.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ext2fs/pager.c') 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 + Converted for ext2fs by Miles Bader 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); -- cgit v1.2.3