diff options
Diffstat (limited to 'mount/mount_mntent.c')
-rw-r--r-- | mount/mount_mntent.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/mount/mount_mntent.c b/mount/mount_mntent.c index 08e5bf48..9e31d12f 100644 --- a/mount/mount_mntent.c +++ b/mount/mount_mntent.c @@ -126,17 +126,13 @@ my_getmntent (mntFILE *mfp) { s = skip_spaces(buf); } while (*s == '\0' || *s == '#'); - me.mnt_fsname = unmangle(s); - s = skip_nonspaces(s); + me.mnt_fsname = unmangle(s, &s); s = skip_spaces(s); - me.mnt_dir = unmangle(s); - s = skip_nonspaces(s); + me.mnt_dir = unmangle(s, &s); s = skip_spaces(s); - me.mnt_type = unmangle(s); - s = skip_nonspaces(s); + me.mnt_type = unmangle(s, &s); s = skip_spaces(s); - me.mnt_opts = unmangle(s); - s = skip_nonspaces(s); + me.mnt_opts = unmangle(s, &s); s = skip_spaces(s); if (isdigit(*s)) { |