fix a OSX C compiler warning about null pointer
This commit is contained in:
parent
db9d022640
commit
67828b1c86
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ static struct mntent *statfs_to_mntent (struct statfs *mntbuf) {
|
|||
_mntent.mnt_dir = mntbuf->f_mntonname;
|
||||
_mntent.mnt_type = mntbuf->f_fstypename;
|
||||
|
||||
_mntent.mnt_opts = '\0';
|
||||
_mntent.mnt_opts = NULL;
|
||||
_mntent.mnt_freq = 0;
|
||||
_mntent.mnt_passno = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue