summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-01-15 21:43:52 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-01-15 21:43:52 +0000
commit22e149846d62036b18968261cbbbf1f315d90c97 (patch)
tree9c8c195e0c5560f3da6c442720214b42db23969e /usr.bin
parenta89fefd3840eb6117539e65c4c6ade262a489373 (diff)
use error() not stderr!
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/dh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/dh.c b/usr.bin/ssh/dh.c
index 35e9014333b..87a47845007 100644
--- a/usr.bin/ssh/dh.c
+++ b/usr.bin/ssh/dh.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: dh.c,v 1.3 2000/11/16 17:55:43 markus Exp $");
+RCSID("$OpenBSD: dh.c,v 1.4 2001/01/15 21:43:51 markus Exp $");
#include "xmalloc.h"
@@ -87,7 +87,7 @@ parse_prime(int linenum, char *line, struct dhgroup *dhg)
return (1);
fail:
- fprintf(stderr, "Bad prime description in line %d\n", linenum);
+ error("Bad prime description in line %d\n", linenum);
return (0);
}