printf format fix

This commit is contained in:
drochner 2002-06-11 14:17:27 +00:00
parent a09b752273
commit 01ce8ad711
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@
#ifndef lint #ifndef lint
static char copyright[] = static char copyright[] =
"$Id: omapi.c,v 1.3 2002/06/11 14:00:05 drochner Exp $ Copyright (c) 1999-2001 The Internet Software Consortium. All rights reserved.\n"; "$Id: omapi.c,v 1.4 2002/06/11 14:17:27 drochner Exp $ Copyright (c) 1999-2001 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@ -243,7 +243,7 @@ isc_result_t dhcp_lease_set_value (omapi_object_t *h,
if (lease -> binding_state != bar) { if (lease -> binding_state != bar) {
lease -> next_binding_state = bar; lease -> next_binding_state = bar;
if (supersede_lease (lease, 0, 1, 1, 1)) { if (supersede_lease (lease, 0, 1, 1, 1)) {
log_info ("lease %d state changed from %s to %s", log_info ("lease state changed from %s to %s",
ols, nls); ols, nls);
return ISC_R_SUCCESS; return ISC_R_SUCCESS;
} }