]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: fix syscall save function
authorKarel Zak <kzak@redhat.com>
Thu, 27 Jun 2024 10:57:19 +0000 (12:57 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 27 Jun 2024 10:57:19 +0000 (12:57 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c

index 977cf311c47607ac995c9fecfde4f99d3aeb2ef9..2e94d9f68db660706d97542b2daca81c084d064d 100644 (file)
@@ -1825,7 +1825,7 @@ int mnt_context_open_tree(struct libmnt_context *cxt, const char *path, unsigned
                                oflg & OPEN_TREE_CLONE ? " clone" : "",
                                oflg & AT_RECURSIVE ? " recursive" : ""));
        fd = open_tree(AT_FDCWD, path, oflg);
-       mnt_context_syscall_save_status(cxt, "open_tree", fd >= 0);
+       set_syscall_status(cxt, "open_tree", fd >= 0);
 
        return fd;
 }