diff options
author | Joey Hess <joeyh@joeyh.name> | 2014-12-29 17:07:42 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2014-12-29 17:07:42 -0400 |
commit | daa420a9f299c331b24488d133d068ddc451b9aa (patch) | |
tree | 8faa2305fa7d053bf60bee4d92e78496f369f48d /Utility | |
parent | d1127006827022427358188d3507e9ff7656550d (diff) |
fix a OSX C compiler warning about null pointer
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/libmounts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/libmounts.c b/Utility/libmounts.c index 8669f33ea..9b3ae9578 100644 --- a/Utility/libmounts.c +++ b/Utility/libmounts.c @@ -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; |