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 /usr.sbin | |
parent | 177a4479d2d1f85c3b67435bd1d1fec527eba461 (diff) |
fix some warning messages and comments in parse_date(); ok henning@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/dhcpd/parse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/dhcpd/parse.c b/usr.sbin/dhcpd/parse.c index 3cab5da4345..04405f9b7c5 100644 --- a/usr.sbin/dhcpd/parse.c +++ b/usr.sbin/dhcpd/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.8 2006/04/18 19:18:32 deraadt Exp $ */ +/* $OpenBSD: parse.c,v 1.9 2006/11/22 18:07:52 stevesk Exp $ */ /* Common parser code for dhcpd and dhclient. */ @@ -522,7 +522,7 @@ parse_date(FILE * cfile) skip_to_semi(cfile); return (NULL); } - /* Month... */ + /* Day... */ token = next_token(&val, cfile); if (token != TOK_NUMBER) { parse_warn("numeric day of month expected."); @@ -563,15 +563,15 @@ 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 (NULL); } - /* 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 (NULL); |