projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: standardize listener ID types with new `bt_listener_id` type
[babeltrace.git]
/
src
/
cli
/
babeltrace2-cfg-src-auto-disc.c
diff --git
a/src/cli/babeltrace2-cfg-src-auto-disc.c
b/src/cli/babeltrace2-cfg-src-auto-disc.c
index 505a265f272f03d34097b8ea32da012e9415814b..6b1b45635dca0fc813077cac11ca36c3258f83df 100644
(file)
--- a/
src/cli/babeltrace2-cfg-src-auto-disc.c
+++ b/
src/cli/babeltrace2-cfg-src-auto-disc.c
@@
-525,7
+525,7
@@
int auto_discover_source_for_input_as_dir_or_file_rec(GString *input,
const char *fmt = "Failed to open directory %s: %s";
BT_LOGW(fmt, input->str, error->message);
const char *fmt = "Failed to open directory %s: %s";
BT_LOGW(fmt, input->str, error->message);
- if (err
no == E
ACCES) {
+ if (err
or->code == G_FILE_ERROR_
ACCES) {
/* This is not a fatal error, we just skip it. */
status = 1;
goto end;
/* This is not a fatal error, we just skip it. */
status = 1;
goto end;
@@
-562,7
+562,7
@@
int auto_discover_source_for_input_as_dir_or_file_rec(GString *input,
BT_LOGW_ERRNO("Failed to read directory entry", ": dir=%s", input->str);
goto error;
}
BT_LOGW_ERRNO("Failed to read directory entry", ": dir=%s", input->str);
goto error;
}
- } while (dirent
!= NULL
);
+ } while (dirent);
status = dir_status;
status = dir_status;
This page took
0.024796 seconds
and
4
git commands to generate.