summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.c
diff options
context:
space:
mode:
authorKarel Zak2012-03-02 15:53:55 +0100
committerKarel Zak2012-03-02 15:53:55 +0100
commit6699e742f238d4bc15ac396dd56f0df1480bd36c (patch)
tree97461a5025b8e3dfda498a79b26367ca89ffcef6 /sys-utils/mount.c
parentblkid: add DEVNAME= to export output format (diff)
downloadkernel-qcow2-util-linux-6699e742f238d4bc15ac396dd56f0df1480bd36c.tar.gz
kernel-qcow2-util-linux-6699e742f238d4bc15ac396dd56f0df1480bd36c.tar.xz
kernel-qcow2-util-linux-6699e742f238d4bc15ac396dd56f0df1480bd36c.zip
libmount: add mnt_fs_streq_target() and export all mnt_fs_streq_*
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/mount.c')
-rw-r--r--sys-utils/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/mount.c b/sys-utils/mount.c
index 8c94052e5..69f536b47 100644
--- a/sys-utils/mount.c
+++ b/sys-utils/mount.c
@@ -423,7 +423,7 @@ try_readonly:
const char *s = mnt_fs_get_srcpath(fs),
*t = mnt_fs_get_target(fs);
- if (t && s && mnt_fs_streq_strpath(fs, src))
+ if (t && s && mnt_fs_streq_srcpath(fs, src))
fprintf(stderr, _(
" %s is already mounted on %s\n"), s, t);
}