projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
virt: Change '_Bool' to standard 'bool' type
[collectd.git]
/
src
/
unixsock.c
diff --git
a/src/unixsock.c
b/src/unixsock.c
index
7cbb385
..
bceafe6
100644
(file)
--- a/
src/unixsock.c
+++ b/
src/unixsock.c
@@
-138,9
+138,8
@@
static int us_open_socket(void) {
status = getgrnam_r(grpname, &sg, grbuf, sizeof(grbuf), &g);
if (status != 0) {
status = getgrnam_r(grpname, &sg, grbuf, sizeof(grbuf), &g);
if (status != 0) {
- char errbuf[1024];
WARNING("unixsock plugin: getgrnam_r (%s) failed: %s", grpname,
WARNING("unixsock plugin: getgrnam_r (%s) failed: %s", grpname,
-
sstrerror(status, errbuf, sizeof(errbuf)
));
+
STRERROR(status
));
break;
}
if (g == NULL) {
break;
}
if (g == NULL) {