Apparently, bumping versioncode isn't enough.. WTF

This commit is contained in:
topjohnwu 2017-01-03 09:35:46 +08:00
parent edd4b477f8
commit ef1d1303f4
2 changed files with 3 additions and 3 deletions

2
su.c
View File

@ -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()) {

4
su.h
View File

@ -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