From 3bc21cfa99234a777bff8471b3af3c94c522a18b Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 22 Aug 2023 16:28:19 +0300 Subject: Remove extra argument to ‘fprintf()’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 08ad3ea4668f4f25648fd6b4369bdee2705a5bd0 removed the second occurance of ‘%s’ in the usage string, so we can now remove the second occurance of ‘__progname’ from ‘fprintf()’. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 2f5596f..e7fd8de 100644 --- a/main.c +++ b/main.c @@ -54,7 +54,7 @@ static bool big_endian(void); void usage(void) { - fprintf(stderr, usage_s, __progname, __progname); + fprintf(stderr, usage_s, __progname); exit(EXIT_FAILURE); } -- cgit v1.2.3