aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-22 16:28:19 +0300
committerThomas Voss <mail@thomasvoss.com> 2023-08-22 16:28:19 +0300
commit3bc21cfa99234a777bff8471b3af3c94c522a18b (patch)
tree4a72d7a9243fce312f4d2c4a0969bf3c7932021e
parentfef4fc8facdfaf287a078461cfd3a7461dc0e3e3 (diff)
Remove extra argument to ‘fprintf()’v1.0.1
Commit 08ad3ea4668f4f25648fd6b4369bdee2705a5bd0 removed the second occurance of ‘%s’ in the usage string, so we can now remove the second occurance of ‘__progname’ from ‘fprintf()’.
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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);
}