From c3b8c44c68b3a495fa04ee6a0c3111218bfe6b7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Fri, 17 Nov 2017 08:18:30 +0000 Subject: [PATCH] Show only version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 50cbeec..e38f778 100644 --- a/src/main.c +++ b/src/main.c @@ -25,8 +25,8 @@ #define O_CLOEXEC 0 #endif -#ifndef PACKAGE_STRING -#define PACKAGE_STRING "unknown" +#ifndef PACKAGE_VERSION +#define PACKAGE_VERSION "unknown" #endif #define GT_MTU(X) ((X)-28) @@ -278,7 +278,7 @@ main(int argc, char **argv) return 1; if (gt.version) { - gt_print(PACKAGE_STRING "\n"); + gt_print(PACKAGE_VERSION "\n"); return 0; }