projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
utils_ovs.c: fix some minor stylistic issues
[collectd.git]
/
src
/
utils_cmd_getthreshold.c
diff --git
a/src/utils_cmd_getthreshold.c
b/src/utils_cmd_getthreshold.c
index
8cc1d21
..
c1f3f56
100644
(file)
--- a/
src/utils_cmd_getthreshold.c
+++ b/
src/utils_cmd_getthreshold.c
@@
-36,9
+36,8
@@
#define print_to_socket(fh, ...) \
if (fprintf(fh, __VA_ARGS__) < 0) { \
#define print_to_socket(fh, ...) \
if (fprintf(fh, __VA_ARGS__) < 0) { \
- char errbuf[1024]; \
WARNING("handle_getthreshold: failed to write to socket #%i: %s", \
WARNING("handle_getthreshold: failed to write to socket #%i: %s", \
- fileno(fh),
sstrerror(errno, errbuf, sizeof(errbuf)));
\
+ fileno(fh),
STRERRNO);
\
return -1; \
}
return -1; \
}