From daa420a9f299c331b24488d133d068ddc451b9aa Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 29 Dec 2014 17:07:42 -0400 Subject: fix a OSX C compiler warning about null pointer --- Utility/libmounts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3