Merge branch 'master' of /var/lib/git/collectd
authorFlorian Forster <octo@huhu.verplant.org>
Sat, 14 Jun 2008 15:53:25 +0000 (17:53 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Sat, 14 Jun 2008 15:53:25 +0000 (17:53 +0200)
Conflicts:

src/email.c

src/email.c

index bcdb357..fbdc785 100644 (file)
@@ -292,9 +292,9 @@ static void *collect (void *arg)
 
                        len = strlen (line);
                        if (('\n' != line[len - 1]) && ('\r' != line[len - 1])) {
-                               log_warn ("[thread #%5lu] line too long (> %lu characters): "
+                               log_warn ("[thread #%5lu] line too long (> %zu characters): "
                                                "'%s' (truncated)",
-                                               self, (unsigned long) (sizeof (line) - 1), line);
+                                               (unsigned long) self, sizeof (line) - 1, line);
 
                                while (NULL != fgets (line, sizeof (line), this->socket))
                                        if (('\n' == line[len - 1]) || ('\r' == line[len - 1]))