diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-16 02:13:26 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-16 02:13:26 +0000 |
commit | b5cdc6643848d170156770821ce946dae0d3f844 (patch) | |
tree | 17aff41d900612f590ce0fe3c30e98f7186ffbaf /readconf.c | |
parent | bdc2beb678f89823097a75c438d7a08f0963eb3e (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/readconf.c b/readconf.c index 241185c65..a14d0a55d 100644 --- a/readconf.c +++ b/readconf.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: readconf.c,v 1.74 2001/04/12 20:09:37 stevesk Exp $"); | 15 | RCSID("$OpenBSD: readconf.c,v 1.75 2001/04/15 21:28:35 stevesk Exp $"); |
16 | 16 | ||
17 | #include "ssh.h" | 17 | #include "ssh.h" |
18 | #include "xmalloc.h" | 18 | #include "xmalloc.h" |
@@ -233,8 +233,8 @@ parse_token(const char *cp, const char *filename, int linenum) | |||
233 | if (strcasecmp(cp, keywords[i].name) == 0) | 233 | if (strcasecmp(cp, keywords[i].name) == 0) |
234 | return keywords[i].opcode; | 234 | return keywords[i].opcode; |
235 | 235 | ||
236 | fprintf(stderr, "%s: line %d: Bad configuration option: %s\n", | 236 | error("%s: line %d: Bad configuration option: %s", |
237 | filename, linenum, cp); | 237 | filename, linenum, cp); |
238 | return oBadOption; | 238 | return oBadOption; |
239 | } | 239 | } |
240 | 240 | ||