projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace all calls to `strerror' with `sstrerror'
[collectd.git]
/
src
/
dns.c
diff --git
a/src/dns.c
b/src/dns.c
index
11dc287
..
255d176
100644
(file)
--- a/
src/dns.c
+++ b/
src/dns.c
@@
-320,8
+320,9
@@
static int dns_init (void)
(void *) 0);
if (status != 0)
{
+ char errbuf[1024];
ERROR ("dns plugin: pthread_create failed: %s",
- s
trerror (status
));
+ s
strerror (errno, errbuf, sizeof (errbuf)
));
return (-1);
}