summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2006-06-05 16:42:59 +0000
committerDavid Hankins <dhankins@isc.org>2006-06-05 16:42:59 +0000
commitd19e2cf7de53b5652d81164ca4559789e3dea511 (patch)
tree684ccadb1b466f0de3a478da644b7ef70fa38454 /common
parent41c3f761a36e78f6313af443c6803b05639745ca (diff)
downloadisc-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.c6
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;
}