summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b7ec138)
raw | patch | inline | side by side (parent: b7ec138)
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 19eaea71d7bf1160837712602c6a0e775a4305fc..15eae6a222fa942116841c36c0dd20f6676417e1 100644 (file)
--- a/src/zone.c
+++ b/src/zone.c
if (sread(fd, buf, bufsize) != 0) {
char errbuf[1024];
ERROR ("zone plugin: Reading \"%s\" failed: %s", procfile,
- strerror (errno, errbuf, sizeof (errbuf)));
+ sstrerror (errno, errbuf, sizeof (errbuf)));
close(fd);
return (1);
}