diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-11-26 03:47:09 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-11-26 03:47:09 +0000 |
commit | d1efcab6d6c6e9f35c204c481d68dd9863b71a8e (patch) | |
tree | 1a27b2fb3aab6aa67f51e0e5433e53af7429665e | |
parent | dc367dedac6a4ec8a7f45b42f980a09fbb0b273e (diff) |
error should go to stderr. from provos
-rw-r--r-- | bin/systrace/parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/systrace/parse.y b/bin/systrace/parse.y index c7fcd90aeb5..e046a980694 100644 --- a/bin/systrace/parse.y +++ b/bin/systrace/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.11 2002/10/16 15:01:08 itojun Exp $ */ +/* $OpenBSD: parse.y,v 1.12 2002/11/26 03:47:08 itojun Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> @@ -395,8 +395,8 @@ yyerror(const char *fmt, ...) errors = 1; va_start(ap, fmt); - vfprintf(stdout, fmt, ap); - fprintf(stdout, "\n"); + vfprintf(stderr, fmt, ap); + fprintf(stderr, "\n"); va_end(ap); return (0); } |