X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fipmi.c;h=956aaf44c25cc3bf659e02e7768bca6268449f24;hb=5cdafc6cb9228b93cf9b6956c92df61d00bd2a9e;hp=95e2e7c1023fd140e7012920e548d2ad4c5ed5e6;hpb=4a2f8071a17e783bc7afd99a0909a1ed65c0fc25;p=collectd.git diff --git a/src/ipmi.c b/src/ipmi.c index 95e2e7c1..956aaf44 100644 --- a/src/ipmi.c +++ b/src/ipmi.c @@ -73,7 +73,7 @@ static void c_ipmi_error (const char *func, int status) if (IPMI_IS_OS_ERR (status)) { - sstrerror_r (IPMI_GET_OS_ERR (status), errbuf, sizeof (errbuf)); + sstrerror (IPMI_GET_OS_ERR (status), errbuf, sizeof (errbuf)); } else if (IPMI_IS_IPMI_ERR (status)) {