shut up, gcc!
This commit is contained in:
parent
2c0f3733ad
commit
71e936d716
@ -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…
Reference in New Issue
Block a user