Initialise disk->d_ufs so that in sblock.c it's always initialised
(unless someone tries to use libufs support functions without using _fillout or _ctor to construct a uufsd.) Obtained from: jmallett_libufs Perforce branch.
This commit is contained in:
parent
b5dea766b9
commit
0359a25e71
@ -108,6 +108,7 @@ ufs_disk_fillout(struct uufsd *disk, const char *name)
|
||||
disk->d_inomin = 0;
|
||||
disk->d_inomax = 0;
|
||||
disk->d_name = name;
|
||||
disk->d_ufs = 0;
|
||||
|
||||
if (sbread(disk) == -1) {
|
||||
DEBUG(NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user