diff options
author | planet36 <planet36@users.noreply.github.com> | 2021-03-05 14:20:29 -0500 |
---|---|---|
committer | drkhsh <me@drkhsh.at> | 2022-12-19 02:44:21 +0100 |
commit | 0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e (patch) | |
tree | 9251d78e9cf96793e530a512b09ab5fca5c6b056 | |
parent | e22d447684d8b42731871de5b732669a822ddd1a (diff) | |
download | slstatus-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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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] == ':') { |