diff options
| author | 2014-01-18 01:03:56 +0000 | |
|---|---|---|
| committer | 2014-01-18 01:03:56 +0000 | |
| commit | 9ccdfb268b24f9c0a032edb83f309f80cf9f237e (patch) | |
| tree | 01e510186590737a7e89a965e7718ee15a000f5b /sbin/dhclient/clparse.c | |
| parent | caching a bit more tricky... problem noticed by naddy@ (diff) | |
| download | wireguard-openbsd-9ccdfb268b24f9c0a032edb83f309f80cf9f237e.tar.xz wireguard-openbsd-9ccdfb268b24f9c0a032edb83f309f80cf9f237e.zip | |
Make parse_warn() messages consistantly use 'expecting' rather
than occasionally 'expected'. End all with a '.'.
Diffstat (limited to 'sbin/dhclient/clparse.c')
| -rw-r--r-- | sbin/dhclient/clparse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/clparse.c b/sbin/dhclient/clparse.c index 0121997042d..8a46b650a78 100644 --- a/sbin/dhclient/clparse.c +++ b/sbin/dhclient/clparse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clparse.c,v 1.73 2014/01/18 00:51:55 krw Exp $ */ +/* $OpenBSD: clparse.c,v 1.74 2014/01/18 01:03:56 krw Exp $ */ /* Parser for dhclient config and lease files. */ @@ -327,7 +327,7 @@ parse_option_list(FILE *cfile, u_int8_t *list, size_t sz) return (0); } if (!is_identifier(token)) { - parse_warn("expected option name."); + parse_warn("expecting option name."); goto syntaxerror; } /* @@ -340,7 +340,7 @@ parse_option_list(FILE *cfile, u_int8_t *list, size_t sz) break; if (i == DHO_END) { - parse_warn("unexpected option name."); + parse_warn("expecting option name."); goto syntaxerror; } if (ix == sz) { |
