From 27b23ce00b2f2584c3ca81072a2b67f7ccfcc3ef Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Fri, 14 Jul 2023 09:52:24 +0200 Subject: [PATCH] unzip: fix EXTRA_VERSION macro in unzip/test/test.h --- unzip/test/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unzip/test/test.h b/unzip/test/test.h index 8df106e12..8da017f68 100644 --- a/unzip/test/test.h +++ b/unzip/test/test.h @@ -35,6 +35,6 @@ #undef EXTRA_DUMP /* How to dump extra data */ #undef EXTRA_ERRNO /* How to dump errno */ /* How to generate extra version info. */ -#define EXTRA_VERSION (system(testprog) ? "" : "") +#define EXTRA_VERSION (systemf("%s -v", testprog) ? "" : "") #include "test_common.h" -- 2.47.2