]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: fix mflags
authorKarel Zak <kzak@redhat.com>
Tue, 20 Sep 2022 08:26:20 +0000 (10:26 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Jan 2023 11:58:42 +0000 (12:58 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c

index 048c0fa6431a2621aac5f672a41ef8493b05b864..1cf8321c076df1ea591d06e5e32f57fba2ee79e6 100644 (file)
@@ -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);
 }
 
 /**