diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-11-22 18:07:53 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-11-22 18:07:53 +0000 |
commit | 31c3926b5efa5f5e76032c21af9584271bb133e9 (patch) | |
tree | 1840516f81dcc4b366b07237e85481ef3001f30c /sbin/dhclient/parse.c | |
parent | 177a4479d2d1f85c3b67435bd1d1fec527eba461 (diff) |
fix some warning messages and comments in parse_date(); ok henning@
Diffstat (limited to 'sbin/dhclient/parse.c')
-rw-r--r-- | sbin/dhclient/parse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/dhclient/parse.c b/sbin/dhclient/parse.c index 2ea2e3382d1..da3b9a74ac1 100644 --- a/sbin/dhclient/parse.c +++ b/sbin/dhclient/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.15 2006/11/21 17:29:27 stevesk Exp $ */ +/* $OpenBSD: parse.c,v 1.16 2006/11/22 18:07:52 stevesk Exp $ */ /* Common parser code for dhcpd and dhclient. */ @@ -405,7 +405,7 @@ parse_date(FILE *cfile) return (0); } - /* Month... */ + /* Day... */ token = next_token(&val, cfile); if (token != TOK_NUMBER) { parse_warn("numeric day of month expected."); @@ -447,16 +447,16 @@ parse_date(FILE *cfile) /* Colon separating minute from second... */ token = next_token(&val, cfile); if (token != ':') { - parse_warn("expected colon separating hour from minute."); + parse_warn("expected colon separating minute from second."); if (token != ';') skip_to_semi(cfile); return (0); } - /* Minute... */ + /* Second... */ token = next_token(&val, cfile); if (token != TOK_NUMBER) { - parse_warn("numeric minute expected."); + parse_warn("numeric second expected."); if (token != ';') skip_to_semi(cfile); return (0); |