X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprocess.c;h=15120acaf4d50925665d10ced4215c8fc1a8be14;hp=98f4d33a811d0e9c3d6edd8d1a2a3d3413a7d29b;hb=aec82bb1c94af6d3142cdef0c51f42f38e9be3e0;hpb=116f2ed27a74982e4d1a19b7a8fd08b0aaee1f8d diff --git a/src/process.c b/src/process.c index 98f4d33a..15120aca 100644 --- a/src/process.c +++ b/src/process.c @@ -34,6 +34,7 @@ #include "subnet.h" #include "utils.h" #include "xalloc.h" +#include "version.h" /* If zero, don't detach from the terminal. */ bool do_detach = true; @@ -223,7 +224,7 @@ bool detach(void) { openlogger(identname, use_logfile?LOGMODE_FILE:(do_detach?LOGMODE_SYSLOG:LOGMODE_STDERR)); logger(DEBUG_ALWAYS, LOG_NOTICE, "tincd %s (%s %s) starting, debug level %d", - VERSION, __DATE__, __TIME__, debug_level); + VERSION, BUILD_DATE, BUILD_TIME, debug_level); return true; }