Ensure proper initialization of superblock.
Submitted by: Diane Bruce
This commit is contained in:
parent
4f878c4dbd
commit
1727b537ef
@ -433,6 +433,7 @@ main(int argc, char *argv[])
|
||||
msgtail("to %s\n", tape);
|
||||
|
||||
sync();
|
||||
sblock = NULL;
|
||||
if ((ret = sbget(diskfd, &sblock, -1)) != 0) {
|
||||
switch (ret) {
|
||||
case ENOENT:
|
||||
|
Loading…
Reference in New Issue
Block a user