projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7ec138
)
zone plugin: Fix strerror -> sstrerror.
author
Florian Forster
<octo@collectd.org>
Thu, 11 Jun 2015 09:36:12 +0000
(10:36 +0100)
committer
Florian Forster
<octo@collectd.org>
Thu, 11 Jun 2015 09:36:12 +0000
(10:36 +0100)
src/zone.c
patch
|
blob
|
history
diff --git
a/src/zone.c
b/src/zone.c
index
19eaea7
..
15eae6a
100644
(file)
--- a/
src/zone.c
+++ b/
src/zone.c
@@
-81,7
+81,7
@@
zone_read_procfile(char const *pidstr, char const *name, void *buf, size_t bufsi
if (sread(fd, buf, bufsize) != 0) {
char errbuf[1024];
ERROR ("zone plugin: Reading \"%s\" failed: %s", procfile,
- strerror (errno, errbuf, sizeof (errbuf)));
+ s
s
trerror (errno, errbuf, sizeof (errbuf)));
close(fd);
return (1);
}