From 1356582b942b5cdcbecb70adf3abb0d1226548ae Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 6 May 2009 14:41:11 +0200 Subject: [PATCH] libcollectdclient: Fix a typo. --- src/libcollectdclient/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0