Missing disk close in libufs.
This commit is contained in:
parent
d6156b173d
commit
5e717fc60d
@ -83,6 +83,7 @@ ufs_disk_fillout(struct uufsd *disk, const char *name)
|
||||
}
|
||||
if (sbread(disk) == -1) {
|
||||
ERROR(disk, "could not read superblock to fill out disk");
|
||||
ufs_disk_close(disk);
|
||||
return (-1);
|
||||
}
|
||||
return (0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user