summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2004-12-04 00:03:18 +0000
committerDavid Hankins <dhankins@isc.org>2004-12-04 00:03:18 +0000
commitf25ccaac8b8bd8d1ad0da6c564b2af10b5386d1d (patch)
tree646ee2b2cf7daa546ae9b83971f0bdfecacc9eac
parent1d9a31229cb897f766b5e7ad338bc2cb662719a8 (diff)
downloadisc-dhcp-3-0-2RC3.tar.gz
- Bonehead printf format error.V3-0-2RC3
-rw-r--r--common/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/options.c b/common/options.c
index 25165750..d0d5cacc 100644
--- a/common/options.c
+++ b/common/options.c
@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
-"$Id: options.c,v 1.85.2.26 2004/12/03 23:06:08 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n";
+"$Id: options.c,v 1.85.2.27 2004/12/04 00:03:18 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#define DHCP_OPTION_DATA
@@ -746,7 +746,7 @@ int store_options (ocount, buffer, buflen, packet, lease, client_state,
if (first_cutoff) {
if (first_cutoff >= buflen)
- log_fatal("%s:%s:store_options: Invalid first cutoff.", MDL);
+ log_fatal("%s:%d:store_options: Invalid first cutoff.", MDL);
bufend = first_cutoff;
} else
@@ -754,7 +754,7 @@ int store_options (ocount, buffer, buflen, packet, lease, client_state,
if (second_cutoff) {
if (second_cutoff >= buflen)
- log_fatal("%s:%s:store_options: Invalid second cutoff.", MDL);
+ log_fatal("%s:%d:store_options: Invalid second cutoff.", MDL);
sbufend = second_cutoff;
} else