fix a OSX C compiler warning about null pointer

This commit is contained in:
Joey Hess 2014-12-29 17:07:42 -04:00
parent db9d022640
commit 67828b1c86

View file

@ -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;