Code

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 f260c84253ec7b6c6484c488d614ec8308250118..984ff757f3911fdc156717261bbb9c195907930a 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);
        }