From: Florian Forster Date: Wed, 6 May 2009 12:41:11 +0000 (+0200) Subject: libcollectdclient: Fix a typo. X-Git-Tag: collectd-4.7.0~17 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1356582b942b5cdcbecb70adf3abb0d1226548ae;p=collectd.git libcollectdclient: Fix a typo. --- diff --git a/src/libcollectdclient/client.c b/src/libcollectdclient/client.c index 2d2a73af..501c729c 100644 --- a/src/libcollectdclient/client.c +++ b/src/libcollectdclient/client.c @@ -121,7 +121,7 @@ char *sstrerror (int errnum, char *buf, size_t buflen) buf[0] = 0; #if !HAVE_STRERROR_R - snprintf (buf, buflen "Error #%i; strerror_r is not available.", errnum); + snprintf (buf, buflen, "Error #%i; strerror_r is not available.", errnum); /* #endif !HAVE_STRERROR_R */ #elif STRERROR_R_CHAR_P