From b5cdc6643848d170156770821ce946dae0d3f844 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Mon, 16 Apr 2001 02:13:26 +0000 Subject: - stevesk@cvs.openbsd.org 2001/04/15 21:28:35 [readconf.c servconf.c] use fatal() or error() vs. fprintf(); ok markus@ --- readconf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'readconf.c') diff --git a/readconf.c b/readconf.c index 241185c6..a14d0a55 100644 --- a/readconf.c +++ b/readconf.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: readconf.c,v 1.74 2001/04/12 20:09:37 stevesk Exp $"); +RCSID("$OpenBSD: readconf.c,v 1.75 2001/04/15 21:28:35 stevesk Exp $"); #include "ssh.h" #include "xmalloc.h" @@ -233,8 +233,8 @@ parse_token(const char *cp, const char *filename, int linenum) if (strcasecmp(cp, keywords[i].name) == 0) return keywords[i].opcode; - fprintf(stderr, "%s: line %d: Bad configuration option: %s\n", - filename, linenum, cp); + error("%s: line %d: Bad configuration option: %s", + filename, linenum, cp); return oBadOption; } -- cgit v1.2.3