aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tapefs/32vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/tapefs/32vfs.c')
-rw-r--r--src/cmd/tapefs/32vfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/tapefs/32vfs.c b/src/cmd/tapefs/32vfs.c
index 55d5dbe0..c273bcf4 100644
--- a/src/cmd/tapefs/32vfs.c
+++ b/src/cmd/tapefs/32vfs.c
@@ -152,6 +152,7 @@ iget(int ino)
long flags, i;
Fileinf f;
+ memset(&f, 0, sizeof f);
seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0);
if (read(tapefile, buf, BLSIZE) != BLSIZE)
error("Can't read inode");