summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/context_mount.c
diff options
context:
space:
mode:
authorKarel Zak2011-01-25 01:11:37 +0100
committerKarel Zak2011-01-25 01:11:37 +0100
commit5a669b12f84f85f7ace13712b20ce9592a08f157 (patch)
treee0d1db464c5b7c72f9b0c637b883c2fcadecf442 /shlibs/mount/src/context_mount.c
parentlibmount: improve status check, minor cleanups (diff)
downloadkernel-qcow2-util-linux-5a669b12f84f85f7ace13712b20ce9592a08f157.tar.gz
kernel-qcow2-util-linux-5a669b12f84f85f7ace13712b20ce9592a08f157.tar.xz
kernel-qcow2-util-linux-5a669b12f84f85f7ace13712b20ce9592a08f157.zip
libmount: fix user= usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/context_mount.c')
-rw-r--r--shlibs/mount/src/context_mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shlibs/mount/src/context_mount.c b/shlibs/mount/src/context_mount.c
index 0b6c3d864..8c764078d 100644
--- a/shlibs/mount/src/context_mount.c
+++ b/shlibs/mount/src/context_mount.c
@@ -107,11 +107,11 @@ static int fix_optstr(struct libmnt_context *cxt)
}
if (!rc && cxt->user_mountflags && MNT_MS_USER)
- rc = mnt_optstr_fix_user(&fs->fs_optstr);
+ rc = mnt_optstr_fix_user(&fs->user_optstr);
done:
DBG(CXT, mnt_debug_h(cxt, "fixed options [rc=%d]: "
- "vfs='%s' fs='%s' user='%s'", rc,
+ "vfs: '%s' fs: '%s' user: '%s'", rc,
fs->vfs_optstr, fs->fs_optstr, fs->user_optstr));
return rc;
}