src/collectd.c: Fix the arguments passed to an error message.
authorBrian Micek <bmicek@gmail.com>
Sat, 23 Feb 2008 09:51:46 +0000 (10:51 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 23 Feb 2008 09:51:46 +0000 (10:51 +0100)
Unfortunately the compiler doesn't check va-args, so this was unnoticed :/

src/collectd.c

index f260c84..984ff75 100644 (file)
@@ -91,7 +91,7 @@ static int init_hostname (void)
                                "\"FQDNLookup\" option, but I cannot resolve "
                                "my hostname to a fully qualified domain "
                                "name. Please fix you network "
-                               "configuration.");
+                               "configuration.", hostname_g);
                return (-1);
        }