add 'sent: ' prefix to errors - sent - simple plaintext presentation tool | |
git clone git://git.suckless.org/sent | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7e558105e6e46a6a2592f2ee15220b99922cd1f0 | |
parent 98e18541897b019d1c8bbd4b7a0ba51e65974a98 | |
Author: Markus Teich <[email protected]> | |
Date: Thu, 3 Dec 2015 22:59:29 +0100 | |
add 'sent: ' prefix to errors | |
Diffstat: | |
M sent.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/sent.c b/sent.c | |
@@ -386,6 +386,8 @@ void eprintf(const char *fmt, ...) | |
{ | |
va_list ap; | |
+ fputs("sent: ", stderr); | |
+ | |
va_start(ap, fmt); | |
vfprintf(stderr, fmt, ap); | |
va_end(ap); |