summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/samples/mount.c
diff options
context:
space:
mode:
authorKarel Zak2011-01-19 22:11:55 +0100
committerKarel Zak2011-01-22 00:27:26 +0100
commitdbde192307f899cfa1a6ea014eebbc58c0174a42 (patch)
tree5abb19211df2cacbba7e30501ae2574269afb037 /shlibs/mount/samples/mount.c
parentmount: update ext{3,4} options in mount.8 (diff)
downloadkernel-qcow2-util-linux-dbde192307f899cfa1a6ea014eebbc58c0174a42.tar.gz
kernel-qcow2-util-linux-dbde192307f899cfa1a6ea014eebbc58c0174a42.tar.xz
kernel-qcow2-util-linux-dbde192307f899cfa1a6ea014eebbc58c0174a42.zip
libmount: split mnt_context_do_mount()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/samples/mount.c')
-rw-r--r--shlibs/mount/samples/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/samples/mount.c b/shlibs/mount/samples/mount.c
index 1d032a621..eca02d62e 100644
--- a/shlibs/mount/samples/mount.c
+++ b/shlibs/mount/samples/mount.c
@@ -408,7 +408,7 @@ int main(int argc, char **argv)
if (lock)
atexit(lock_atexit_cleanup);
- rc = mnt_context_do_mount(cxt);
+ rc = mnt_mount_context(cxt);
if (rc) {
/* TODO: call mnt_context_strerror() */
rc = EX_FAIL;