From ef1d1303f4419b7525323bce29645b81a87ff36c Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 3 Jan 2017 09:35:46 +0800 Subject: [PATCH] Apparently, bumping versioncode isn't enough.. WTF --- su.c | 2 +- su.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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