[hackers] [scc] [driver] Print diagnostic message to stderr instead of stdout || FRIGN

From: <git_AT_suckless.org>
Date: Mon, 30 May 2016 18:26:22 +0200 (CEST)

commit d6a0fc915b3162e6dc096a8987186ad432022e4b
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Mon May 30 18:26:01 2016 +0200
Commit: FRIGN <dev_AT_frign.de>
CommitDate: Mon May 30 18:26:01 2016 +0200

    [driver] Print diagnostic message to stderr instead of stdout

diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 9040925..eec985d 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
_AT_@ -140,7 +140,7 @@ main(int argc, char *argv[])
                 arch = EARGF(usage());
                 break;
         case '-':
- printf("scc: ignored parameter --%s\n", EARGF(usage()));
+ fprintf(stderr, "scc: ignored parameter --%s\n", EARGF(usage()));
                 break;
         default:
                 usage();
Received on Mon May 30 2016 - 18:26:22 CEST

This archive was generated by hypermail 2.3.0 : Mon May 30 2016 - 18:36:13 CEST