summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplanet36 <planet36@users.noreply.github.com>2021-03-05 14:20:29 -0500
committerRafael Marçalo <raroma09@gmail.com>2023-01-03 15:01:45 +0000
commit4396ea58e7e5278f0ea30b9d5504823ecce274d2 (patch)
tree6e3f7763635659a7c3e8d2ef0d363a6f7b1ab52c
parent2b808b65df38411037da9d62ab1126da7968195c (diff)
verr: Remove special "usage" case
In function verr, remove special case for "usage" string Co-authored-by: drkhsh <me@drkhsh.at> Signed-off-by: drkhsh <me@drkhsh.at>
-rw-r--r--util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/util.c b/util.c
index d1f6077..bca9b2e 100644
--- a/util.c
+++ b/util.c
@@ -13,9 +13,6 @@ char *argv0;
static void
verr(const char *fmt, va_list ap)
{
- if (argv0 && strncmp(fmt, "usage", sizeof("usage") - 1))
- fprintf(stderr, "%s: ", argv0);
-
vfprintf(stderr, fmt, ap);
if (fmt[0] && fmt[strlen(fmt) - 1] == ':') {