commit 0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e
Author:     planet36 <[email protected]>
AuthorDate: Fri Mar 5 14:20:29 2021 -0500
Commit:     drkhsh <[email protected]>
CommitDate: Mon Dec 19 02:44:21 2022 +0100

    verr: Remove special "usage" case
    
    In function verr, remove special case for "usage"
    string
    
    Co-authored-by: drkhsh <[email protected]>
    Signed-off-by: drkhsh <[email protected]>

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] == ':') {

Reply via email to