[hackers] [sbase] col: exit status 1 on usage || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Wed, 1 Apr 2015 12:11:10 +0200 (CEST)

commit b1fcce32e24b655b45c54c7d7ce8f8817946023f
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Mon Mar 30 21:49:04 2015 +0200

    col: exit status 1 on usage

diff --git a/col.c b/col.c
index e8c7c8c..f81f07e 100644
--- a/col.c
+++ b/col.c
_AT_@ -184,7 +184,7 @@ allocbuf(void)
 static void
 usage(void)
 {
- enprintf(2, "usage: %s [-pbfx] [-l num]\n", argv0);
+ eprintf("usage: %s [-pbfx] [-l num]\n", argv0);
 }
 
 int
Received on Wed Apr 01 2015 - 12:11:10 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 01 2015 - 12:12:20 CEST