summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
Diffstat (limited to 'Utility')
-rw-r--r--Utility/libmounts.c2
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;