diff --git a/su.c b/su.c index add682e1b..a62c07c3d 100644 --- a/su.c +++ b/su.c @@ -756,7 +756,7 @@ int su_main_nodaemon(int argc, char **argv) { printf("%d\n", VERSION_CODE); exit(EXIT_SUCCESS); case 'v': - printf("%s\n", VERSION); + printf("%s cm-su topjohnwu\n", VERSION); exit(EXIT_SUCCESS); case 'u': switch (get_multiuser_mode()) { diff --git a/su.h b/su.h index 4545c2bdc..b5d32bcec 100644 --- a/su.h +++ b/su.h @@ -79,8 +79,8 @@ #ifndef VERSION_CODE #define VERSION_CODE 17 #endif -// #define VERSION REQUESTOR " topjohnwu r" xstr(VERSION_CODE) -#define VERSION REQUESTOR " topjohnwu r1" +#define VERSION xstr(VERSION_CODE) " " REQUESTOR +// #define VERSION REQUESTOR " topjohnwu r1" #define PROTO_VERSION 1