chiark / gitweb /
New scripts/setup which interactively sets up a DisOrder configuration
[disorder] / server / stats.c
index a12b8f66641065fb7eb880e5370064f10c4e0fdc..44558ebc9da5af774e1164c06b06536eac7cc62a 100644 (file)
@@ -34,6 +34,7 @@
 #include "log.h"
 #include "syscalls.h"
 #include "configuration.h"
+#include "rights.h"
 #include "trackdb.h"
 
 static const struct option options[] = {
@@ -65,7 +66,7 @@ static void help(void) {
 
 /* display version number and terminate */
 static void version(void) {
-  xprintf("disorder-stats version %s\n", disorder_version_string);
+  xprintf("%s", disorder_version_string);
   xfclose(stdout);
   exit(0);
 }