X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Femail.c;h=9b82e10eee8fb6dc808bd5861bac5e08410bb2bc;hb=089d33f1f455da115ca0c87160df8dbd49286377;hp=200b60c1851dd2ac352a91c43df93678a7f0142f;hpb=47faf00c18402cefd0e195d63ad48d5e7e6a4a92;p=collectd.git diff --git a/src/email.c b/src/email.c index 200b60c1..9b82e10e 100644 --- a/src/email.c +++ b/src/email.c @@ -292,7 +292,7 @@ static void *collect (void *arg) len = strlen (line); if (('\n' != line[len - 1]) && ('\r' != line[len - 1])) { - log_warn ("[thread #%5lu] line too long (> %i characters): " + log_warn ("[thread #%5lu] line too long (> %lu characters): " "'%s' (truncated)", self, sizeof (line) - 1, line); while (NULL != fgets (line, sizeof (line), this->socket))