scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit d6a0fc915b3162e6dc096a8987186ad432022e4b
parent 4a3200bdb91d2a77d43fafd5fc536f08c6f497e3
Author: FRIGN <dev@frign.de>
Date:   Mon, 30 May 2016 18:26:01 +0200

[driver] Print diagnostic message to stderr instead of stdout

Diffstat:
driver/posix/scc.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/driver/posix/scc.c b/driver/posix/scc.c @@ -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();