diff options
author | David Hankins <dhankins@isc.org> | 2006-06-05 16:42:59 +0000 |
---|---|---|
committer | David Hankins <dhankins@isc.org> | 2006-06-05 16:42:59 +0000 |
commit | d19e2cf7de53b5652d81164ca4559789e3dea511 (patch) | |
tree | 684ccadb1b466f0de3a478da644b7ef70fa38454 /common | |
parent | 41c3f761a36e78f6313af443c6803b05639745ca (diff) | |
download | isc-dhcp-d19e2cf7de53b5652d81164ca4559789e3dea511.tar.gz |
Compiler warnings (a few were bugfixes internal to HEAD development) silenced.
[ISC-Bugs #16133]
Diffstat (limited to 'common')
-rw-r--r-- | common/parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/parse.c b/common/parse.c index 6b0115af..33529a5b 100644 --- a/common/parse.c +++ b/common/parse.c @@ -34,7 +34,7 @@ #ifndef lint static char copyright[] = -"$Id: parse.c,v 1.110 2006/06/01 20:23:17 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n"; +"$Id: parse.c,v 1.111 2006/06/05 16:42:58 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -1079,7 +1079,7 @@ void parse_option_space_decl (cfile) default: parse_warn(cfile, "invalid code width (%d), " "expecting a 1, 2 or 4.", - val); + tsize); goto bad; } break; @@ -1100,7 +1100,7 @@ void parse_option_space_decl (cfile) lsize = atoi(val); if (lsize != 1 && lsize != 2) { parse_warn(cfile, "invalid length width (%d) " - "expecting 1 or 2.", val); + "expecting 1 or 2.", lsize); goto bad; } |