mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Fix some more printf arguments.
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: parse.c,v 1.46 1999/10/14 17:58:42 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: parse.c,v 1.47 1999/10/19 15:26:50 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -488,17 +488,20 @@ void convert_num (cfile, buf, str, base, size)
|
|||||||
case 8:
|
case 8:
|
||||||
parse_warn (cfile,
|
parse_warn (cfile,
|
||||||
"%s%lo exceeds max (%d) for precision.",
|
"%s%lo exceeds max (%d) for precision.",
|
||||||
negative ? "-" : "", val, max);
|
negative ? "-" : "",
|
||||||
|
(unsigned long)val, max);
|
||||||
break;
|
break;
|
||||||
case 16:
|
case 16:
|
||||||
parse_warn (cfile,
|
parse_warn (cfile,
|
||||||
"%s%lx exceeds max (%d) for precision.",
|
"%s%lx exceeds max (%d) for precision.",
|
||||||
negative ? "-" : "", val, max);
|
negative ? "-" : "",
|
||||||
|
(unsigned long)val, max);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
parse_warn (cfile,
|
parse_warn (cfile,
|
||||||
"%s%lu exceeds max (%d) for precision.",
|
"%s%lu exceeds max (%d) for precision.",
|
||||||
negative ? "-" : "", val, max);
|
negative ? "-" : "",
|
||||||
|
(unsigned long)val, max);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user