slstatus

status monitor
git clone git://git.suckless.org/slstatus
Log | Files | Refs | README | LICENSE

commit 0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e
parent e22d447684d8b42731871de5b732669a822ddd1a
Author: planet36 <planet36@users.noreply.github.com>
Date:   Fri,  5 Mar 2021 14:20:29 -0500

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>

Diffstat:
Mutil.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

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