summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplanet36 <planet36@users.noreply.github.com>2021-03-05 14:20:29 -0500
committerdrkhsh <me@drkhsh.at>2022-12-19 02:44:21 +0100
commit0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e (patch)
tree9251d78e9cf96793e530a512b09ab5fca5c6b056
parente22d447684d8b42731871de5b732669a822ddd1a (diff)
downloadslstatus-0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e.tar.gz
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] == ':') {