Code

syscollectord: Include extra version information in startup/shutdown messages.
authorSebastian Harl <sh@tokkee.org>
Tue, 11 Dec 2012 10:03:16 +0000 (11:03 +0100)
committerSebastian Harl <sh@tokkee.org>
Tue, 11 Dec 2012 10:03:16 +0000 (11:03 +0100)
src/daemon/syscollectord.c

index effc615244b35c38adb5977636a3144caddf342e..86cbd2a4b8ac801c283c469fbaca7c8239317345 100644 (file)
@@ -218,14 +218,14 @@ main(int argc, char **argv)
                if (daemonize())
                        exit(1);
 
-       fprintf(stderr, "syscollectord "SC_VERSION_STRING" (pid %i) "
-                       "initialized successfully\n", (int)getpid());
+       fprintf(stderr, "syscollectord "SC_VERSION_STRING SC_VERSION_EXTRA
+                       " (pid %i) initialized successfully\n", (int)getpid());
 
        sc_plugin_init_all();
        sc_plugin_collector_loop(&plugin_main_loop);
 
        fprintf(stderr, "Shutting down syscollector "SC_VERSION_STRING
-                       " (pid %i)\n", (int)getpid());
+                       SC_VERSION_EXTRA" (pid %i)\n", (int)getpid());
 
        fprintf(stderr, "Store dump:\n");
        sc_store_dump(stderr);