diff --git a/exec/main.c b/exec/main.c index 469c865d..0f513b3f 100644 --- a/exec/main.c +++ b/exec/main.c @@ -75,11 +75,10 @@ #include "timer.h" #include "print.h" #include "util.h" +#include "version.h" #define SERVER_BACKLOG 5 -static char *release_name = "Wilson version 0.77"; - static int ais_uid = 0; static int gid_valid = 0; @@ -376,7 +375,7 @@ int main (int argc, char **argv) int totem_log_service; log_init ("MAIN"); - log_printf (LOG_LEVEL_NOTICE, "AIS Executive Service RELEASE %s\n", release_name); + log_printf (LOG_LEVEL_NOTICE, "AIS Executive Service RELEASE '%s'\n", RELEASE_VERSION); log_printf (LOG_LEVEL_NOTICE, "Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.\n"); log_printf (LOG_LEVEL_NOTICE, "Copyright (C) 2006 Red Hat, Inc.\n"); diff --git a/exec/version.h b/exec/version.h new file mode 100644 index 00000000..6c21615f --- /dev/null +++ b/exec/version.h @@ -0,0 +1 @@ +#define RELEASE_VERSION "trunk"