chiark / gitweb /
Include version string in background program logs
[disorder] / server / disorderd.c
index 612ac288cfa96015d5e321ecf1e3c12df7c5ae25..e3e7d8601b23af937edddcb3aff1535fe35ac914 100644 (file)
@@ -239,7 +239,7 @@ int main(int argc, char **argv) {
     openlog(progname, LOG_PID, LOG_DAEMON);
     log_default = &log_syslog;
   }
-  disorder_info("process ID %lu", (unsigned long)getpid());
+  disorder_info("version "VERSION" process ID %lu", (unsigned long)getpid());
   fix_path();
   srand(xtime(0));                     /* don't start the same every time */
   /* gcrypt initialization */