From 5fc205833613ee9c68cec3ac1d6ea1e2e3be9eb5 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 18 Dec 2017 16:00:44 +0800 Subject: [PATCH] Show version code when report client --- core/jni/core/magisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/jni/core/magisk.c b/core/jni/core/magisk.c index 5ddbfc503..8a31d93e6 100644 --- a/core/jni/core/magisk.c +++ b/core/jni/core/magisk.c @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) { if (strcmp(basename(argv[0]), "magisk") == 0) { if (argc < 2) usage(); if (strcmp(argv[1], "-c") == 0) { - printf("%s\n", MAGISK_VER_STR); + printf("%s (%d)\n", MAGISK_VER_STR, MAGISK_VER_CODE); return 0; } else if (strcmp(argv[1], "-v") == 0) { int fd = connect_daemon();