summaryrefslogtreecommitdiffstats
path: root/libmount/src/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmount/src/context.c')
-rw-r--r--libmount/src/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/context.c b/libmount/src/context.c
index dadde5c89..e971003cb 100644
--- a/libmount/src/context.c
+++ b/libmount/src/context.c
@@ -1358,7 +1358,7 @@ int mnt_context_prepare_update(struct libmnt_context *cxt)
if (cxt->action == MNT_ACT_UMOUNT)
rc = mnt_update_set_fs(cxt->update, cxt->mountflags,
- mnt_fs_get_target(cxt->fs), NULL);
+ mnt_context_get_target(cxt), NULL);
else
rc = mnt_update_set_fs(cxt->update, cxt->mountflags,
NULL, cxt->fs);