From b5a7129625c012672727cc5a7efa5f92cfd42d1b Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 20 Sep 2022 10:26:20 +0200 Subject: [PATCH] libmount: fix mflags Signed-off-by: Karel Zak --- libmount/src/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmount/src/context.c b/libmount/src/context.c index 048c0fa643..1cf8321c07 100644 --- a/libmount/src/context.c +++ b/libmount/src/context.c @@ -1701,7 +1701,7 @@ int mnt_context_get_mflags(struct libmnt_context *cxt, unsigned long *flags) if (!ls) return -ENOMEM; - return mnt_optlist_get_flags(ls, flags, cxt->map_userspace, 0); + return mnt_optlist_get_flags(ls, flags, cxt->map_linux, 0); } /** -- 2.47.2