projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: run_as_mkdirat returns value of errno
[lttng-tools.git]
/
src
/
common
/
runas.c
diff --git
a/src/common/runas.c
b/src/common/runas.c
index 45aad109a00904804a009e285a8bb829f115add9..ef169d3207903367d6e38e9625b656b210f98d02 100644
(file)
--- a/
src/common/runas.c
+++ b/
src/common/runas.c
@@
-1215,7
+1215,7
@@
int run_as_mkdirat(int dirfd, const char *path, mode_t mode,
run_as(dirfd == AT_FDCWD ? RUN_AS_MKDIR : RUN_AS_MKDIRAT,
&data, &run_as_ret, uid, gid);
errno = run_as_ret._errno;
- ret = run_as_ret.
_errno
;
+ ret = run_as_ret.
u.mkdirat.ret
;
error:
return ret;
}
This page took
0.024529 seconds
and
5
git commands to generate.