projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: report error using fd instead of ret
[lttng-tools.git]
/
src
/
common
/
utils.c
diff --git
a/src/common/utils.c
b/src/common/utils.c
index 893122905bd44ca75b9fa3836cdf9098e142dfff..0eb7ab4fe410e561909e0fb0372fb8b5b5bfa96e 100644
(file)
--- a/
src/common/utils.c
+++ b/
src/common/utils.c
@@
-528,7
+528,7
@@
int utils_create_lock_file(const char *filepath)
S_IRGRP | S_IWGRP);
if (fd < 0) {
PERROR("open lock file %s", filepath);
-
ret
= -1;
+
fd
= -1;
goto error;
}
This page took
0.026386 seconds
and
4
git commands to generate.