src/rrdc.c: Use PACHAGE_VERSION rather than hard coding the version.
authorFlorian Forster <octo@leeloo.home.verplant.org>
Sat, 21 Jun 2008 16:23:46 +0000 (18:23 +0200)
committerFlorian Forster <octo@leeloo.home.verplant.org>
Sat, 21 Jun 2008 16:23:46 +0000 (18:23 +0200)
src/rrdc.c

index eae16a1..e24c7aa 100644 (file)
@@ -78,8 +78,9 @@ int main (int argc, char **argv)
   }
   else
   {
-    fprintf (stdout, "RRDc 1.0.0  Copyright 2008 by Florian Forster "
-        "<octo at verplant.org>\n\n");
+    fprintf (stdout, "RRDc %s  Copyright 2008 by Florian Forster "
+        "<octo at verplant.org>\n\n",
+        PACKAGE_VERSION);
     fflush (stdout);
 
     assert (argv[argc] == NULL);