projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: streamline ret/errno of run_as()
[lttng-tools.git]
/
src
/
common
/
index
/
index.c
diff --git
a/src/common/index/index.c
b/src/common/index/index.c
index 46f8bcb1f02bfcb185782d65bb5e77fa8c4720cc..c193ced27568f94f5764dd7672e8b440aaf104a7 100644
(file)
--- a/
src/common/index/index.c
+++ b/
src/common/index/index.c
@@
-53,7
+53,7
@@
int index_create_file(char *path_name, char *stream_name, int uid, int gid,
/* Create index directory if necessary. */
ret = utils_mkdir(fullpath, S_IRWXU | S_IRWXG, uid, gid);
if (ret < 0) {
- if (
ret != -
EEXIST) {
+ if (
errno !=
EEXIST) {
PERROR("Index trace directory creation error");
goto error;
}
This page took
0.023734 seconds
and
4
git commands to generate.