projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean-up: apply clang-format to the newly added fd-tracker
[lttng-tools.git]
/
src
/
common
/
compat
/
directory-handle.c
diff --git
a/src/common/compat/directory-handle.c
b/src/common/compat/directory-handle.c
index 4dad7b75744a7d81305910a3d86556cca3179bf1..95be9ec3d7cfeada460dad1238e1ca06dac53695 100644
(file)
--- a/
src/common/compat/directory-handle.c
+++ b/
src/common/compat/directory-handle.c
@@
-1069,9
+1069,13
@@
struct rmdir_frame {
static
void rmdir_frame_fini(void *data)
{
+ int ret;
struct rmdir_frame *frame = data;
- closedir(frame->dir);
+ ret = closedir(frame->dir);
+ if (ret == -1) {
+ PERROR("Failed to close directory stream");
+ }
}
static
This page took
0.04103 seconds
and
4
git commands to generate.