summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-08-02 17:05:36 +0000
committerMiles Bader <miles@gnu.org>1996-08-02 17:05:36 +0000
commit80312a8e67fa4ffe595d3a082a46e940844c58f4 (patch)
tree3fe3aec8929a0bfed022f7f1784bc3fe40fd64be
parente531caf37d29cbf2aed11bd39df8e984e20bf6eb (diff)
(trunc_direct): Fix ext2_debug call.
-rw-r--r--ext2fs/truncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c
index 5e503b29..ebe8f374 100644
--- a/ext2fs/truncate.c
+++ b/ext2fs/truncate.c
@@ -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 %d", direct_block);
+ ext2_debug ("truncating direct blocks from %ld", end);
while (end < EXT2_NDIR_BLOCKS)
free_block_run_free_ptr (fbr, blocks + end++);