projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
csv plugin: plug memory leak on error
[collectd.git]
/
src
/
zone.c
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);
}