mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Ensure proper initialization of superblock.
Submitted by: Diane Bruce
This commit is contained in:
parent
12693c6c83
commit
db9cb3e823
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue