diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-04-02 20:57:23 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-04-02 20:57:23 +0000 |
commit | 6b0bdf4767feabb4f3d79376b6026be7fb1dbfbb (patch) | |
tree | 1100d0b19ab0c9aee8363169b229b077ee37df60 | |
parent | 4eef80a1f1f9a5039b354a6d0187218b6170932e (diff) |
Change parse_string() warning from "filename must be a string" to
"expecting a string". Things other than filenames are parsed here.
-rw-r--r-- | sbin/dhclient/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/parse.c b/sbin/dhclient/parse.c index 57bb6e7e30e..847c0051aaa 100644 --- a/sbin/dhclient/parse.c +++ b/sbin/dhclient/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.43 2017/02/15 20:00:16 krw Exp $ */ +/* $OpenBSD: parse.c,v 1.44 2017/04/02 20:57:22 krw Exp $ */ /* Common parser code for dhcpd and dhclient. */ @@ -138,7 +138,7 @@ parse_string(FILE *cfile) token = next_token(&val, cfile); if (token != TOK_STRING) { - parse_warn("filename must be a string"); + parse_warn("expecting a string"); if (token != ';') skip_to_semi(cfile); return (NULL); |