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/truncate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext2fs/truncate.c') diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c index 336981cc..f3063e37 100644 --- a/ext2fs/truncate.c +++ b/ext2fs/truncate.c @@ -1,8 +1,8 @@ /* File truncation - Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,99,2000 Free Software Foundation, Inc. - Written by Miles Bader + Written 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 @@ -102,7 +102,7 @@ trunc_direct (struct node *node, block_t end, struct free_block_run *fbr) { block_t *blocks = node->dn->info.i_data; - ext2_debug ("truncating direct blocks from %ld", end); + ext2_debug ("truncating direct blocks from %d", end); while (end < EXT2_NDIR_BLOCKS) free_block_run_free_ptr (fbr, blocks + end++); -- cgit v1.2.3