From: Florian Forster Date: Thu, 11 Jun 2015 09:36:12 +0000 (+0100) Subject: zone plugin: Fix strerror -> sstrerror. X-Git-Tag: collectd-5.6.0~689 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=43879faba48e1de1b8895cb1d4c7ba7de08061d3;p=collectd.git zone plugin: Fix strerror -> sstrerror. --- diff --git a/src/zone.c b/src/zone.c index 19eaea71..15eae6a2 100644 --- 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))); + sstrerror (errno, errbuf, sizeof (errbuf))); close(fd); return (1); }