summaryrefslogtreecommitdiff
path: root/shlibs/mount/samples/mount.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2011-01-19 22:11:55 +0100
committerKarel Zak <kzak@redhat.com>2011-01-22 00:27:26 +0100
commitdbde192307f899cfa1a6ea014eebbc58c0174a42 (patch)
tree5abb19211df2cacbba7e30501ae2574269afb037 /shlibs/mount/samples/mount.c
parentb6d50f6ebfaeef8c3e9808e96def56359eb6a44f (diff)
downloadutil-linux-old-dbde192307f899cfa1a6ea014eebbc58c0174a42.tar.gz
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 1d032a62..eca02d62 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;