shut up, gcc!
This commit is contained in:
parent
2c0f3733ad
commit
71e936d716
3 changed files with 3 additions and 0 deletions
|
|
@ -152,6 +152,7 @@ iget(int ino)
|
||||||
long flags, i;
|
long flags, i;
|
||||||
Fileinf f;
|
Fileinf f;
|
||||||
|
|
||||||
|
memset(&f, 0, sizeof f);
|
||||||
seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0);
|
seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0);
|
||||||
if (read(tapefile, buf, BLSIZE) != BLSIZE)
|
if (read(tapefile, buf, BLSIZE) != BLSIZE)
|
||||||
error("Can't read inode");
|
error("Can't read inode");
|
||||||
|
|
|
||||||
|
|
@ -152,6 +152,7 @@ iget(int ino)
|
||||||
long flags, i;
|
long flags, i;
|
||||||
Fileinf f;
|
Fileinf f;
|
||||||
|
|
||||||
|
memset(&f, 0, sizeof f);
|
||||||
seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0);
|
seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0);
|
||||||
if (read(tapefile, buf, BLSIZE) != BLSIZE)
|
if (read(tapefile, buf, BLSIZE) != BLSIZE)
|
||||||
error("Can't read inode");
|
error("Can't read inode");
|
||||||
|
|
|
||||||
|
|
@ -153,6 +153,7 @@ iget(int ino)
|
||||||
long flags, i;
|
long flags, i;
|
||||||
Fileinf f;
|
Fileinf f;
|
||||||
|
|
||||||
|
memset(&f, 0, sizeof f);
|
||||||
seek(tapefile, BLSIZE*((ino-1)/LINOPB + V6SUPERB + 1), 0);
|
seek(tapefile, BLSIZE*((ino-1)/LINOPB + V6SUPERB + 1), 0);
|
||||||
if (read(tapefile, buf, BLSIZE) != BLSIZE)
|
if (read(tapefile, buf, BLSIZE) != BLSIZE)
|
||||||
error("Can't read inode");
|
error("Can't read inode");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue