summaryrefslogtreecommitdiffstats
path: root/readconf.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-16 02:13:26 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-16 02:13:26 +0000
commitb5cdc6643848d170156770821ce946dae0d3f844 (patch)
tree17aff41d900612f590ce0fe3c30e98f7186ffbaf /readconf.c
parentbdc2beb678f89823097a75c438d7a08f0963eb3e (diff)
- stevesk@cvs.openbsd.org 2001/04/15 21:28:35
[readconf.c servconf.c] use fatal() or error() vs. fprintf(); ok markus@
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c6
1 files changed, 3 insertions, 3 deletions
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;
}