summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-11-26 03:47:09 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-11-26 03:47:09 +0000
commitd1efcab6d6c6e9f35c204c481d68dd9863b71a8e (patch)
tree1a27b2fb3aab6aa67f51e0e5433e53af7429665e /bin
parentdc367dedac6a4ec8a7f45b42f980a09fbb0b273e (diff)
error should go to stderr. from provos
Diffstat (limited to 'bin')
-rw-r--r--bin/systrace/parse.y6
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);
}