projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add error handling for close() call
[ust.git]
/
libust
/
tracectl.c
diff --git
a/libust/tracectl.c
b/libust/tracectl.c
index 3f2ee38cdb7357f0bc5b94dc093536ca87acb819..e40a905d5f6bb5b6fa6e4909005e65acb5c55d00 100644
(file)
--- a/
libust/tracectl.c
+++ b/
libust/tracectl.c
@@
-232,9
+232,13
@@
void process_blocked_consumers(void)
continue;
}
if(result == 0) {
+ int res;
DBG("PRODUCER END");
- close(bc->fd_producer);
+ res = close(bc->fd_producer);
+ if(res == -1) {
+ PERROR("close");
+ }
list_del(&bc->list);
This page took
0.022502 seconds
and
4
git commands to generate.