summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ufs/sizes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/sizes.c b/ufs/sizes.c
index 98ec49d1..5694c0b5 100644
--- a/ufs/sizes.c
+++ b/ufs/sizes.c
@@ -615,7 +615,7 @@ diskfs_grow (struct node *np,
indirs[0].bno = bno;
write_disk_entry (siblock[indirs[0].offset], bno);
record_poke (siblock, sblock->fs_bsize);
- offer_data (np, lbn, sblock->fs_bsize, zeroblock);
+ offer_data (np, lbn * sblock->fs_bsize, sblock->fs_bsize, zeroblock);
}
out: