summaryrefslogtreecommitdiff
path: root/ufs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'ufs/dir.c')
-rw-r--r--ufs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/dir.c b/ufs/dir.c
index 397481d0..6c44932d 100644
--- a/ufs/dir.c
+++ b/ufs/dir.c
@@ -494,7 +494,7 @@ diskfs_direnter_hard(struct node *dp,
vm_address_t fromoff, tooff;
int totfreed;
error_t err;
- off_t oldsize;
+ off_t oldsize = 0;
assert (ds->type == CREATE);