From: Karel Zak Date: Thu, 27 Jun 2024 10:57:19 +0000 (+0200) Subject: libmount: fix syscall save function X-Git-Tag: v2.40.2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66e56dfaeb358950ef1216ff62484d3171875eb7;p=thirdparty%2Futil-linux.git libmount: fix syscall save function Signed-off-by: Karel Zak --- diff --git a/libmount/src/context.c b/libmount/src/context.c index 977cf311c..2e94d9f68 100644 --- a/libmount/src/context.c +++ b/libmount/src/context.c @@ -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; }