summaryrefslogtreecommitdiff
path: root/ext2fs/truncate.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-10 04:54:55 +0000
committerRoland McGrath <roland@gnu.org>2000-03-10 04:54:55 +0000
commit9823009459d091ec9a8be8d4c66ba73633587544 (patch)
treeaab7da530972d5e09c43d3f84db229d288f7e26e /ext2fs/truncate.c
parent2d72dc7d14cbd567340622c0f773932faba10704 (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/truncate.c')
-rw-r--r--ext2fs/truncate.c6
1 files changed, 3 insertions, 3 deletions
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 <miles@gnu.ai.mit.edu>
+ Written 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
@@ -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++);