Code

tail plugin: Fix a format string for a size_t.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 14 Feb 2009 13:13:00 +0000 (14:13 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 14 Feb 2009 13:13:00 +0000 (14:13 +0100)
Probably a result of f50ada19.

src/tail.c

index 3a98c60f0c67436c9ea9804d9bf272a925eda568..02afd7910af42ed75229020b5c5c0ed0b85b8473 100644 (file)
@@ -314,7 +314,7 @@ static int ctail_read (void)
     status = tail_match_read (tail_match_list[i]);
     if (status != 0)
     {
-      ERROR ("tail plugin: tail_match_read[%i] failed.", i);
+      ERROR ("tail plugin: tail_match_read[%zu] failed.", i);
     }
     else
     {