Introduction
Introduction Statistics Contact Development Disclaimer Help
verr: Remove special "usage" case - slstatus - status monitor
git clone git://git.suckless.org/slstatus
Log
Files
Refs
README
LICENSE
---
commit 0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e
parent e22d447684d8b42731871de5b732669a822ddd1a
Author: planet36 <[email protected]>
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 <[email protected]>
Signed-off-by: drkhsh <[email protected]>
Diffstat:
M util.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] == ':') {
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.