vfslist.c: initialize skipvfs variable
The function makevfslist is only called once in mount.c, but should be save to be called more than once with different parameters. The bin/df command links against this file, and will need this possibility to allow -l and -t to be used together. MFC after: 3 days
This commit is contained in:
parent
7def1e10b3
commit
ac413189f5
@ -68,6 +68,7 @@ makevfslist(char *fslist)
|
||||
|
||||
if (fslist == NULL)
|
||||
return (NULL);
|
||||
skipvfs = 0;
|
||||
if (fslist[0] == 'n' && fslist[1] == 'o') {
|
||||
fslist += 2;
|
||||
skipvfs = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user