diff options
author | Michael Brown | 2007-12-07 01:11:43 +0100 |
---|---|---|
committer | Michael Brown | 2007-12-07 01:11:43 +0100 |
commit | df868476e7872c3ebd8c6e2a21f8365858907dc7 (patch) | |
tree | c38e7ca65bc32afd869a2e949f573e37cd174e96 /src/net/dhcpopts.c | |
parent | Fix prototype mismatch. (diff) | |
download | ipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.tar.gz ipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.tar.xz ipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.zip |
Various warnings fixups for OpenBSD with gcc-3.3.5.
Diffstat (limited to 'src/net/dhcpopts.c')
-rw-r--r-- | src/net/dhcpopts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/dhcpopts.c b/src/net/dhcpopts.c index d1837be3..ed53916c 100644 --- a/src/net/dhcpopts.c +++ b/src/net/dhcpopts.c @@ -426,11 +426,11 @@ struct dhcp_option * set_dhcp_option ( struct dhcp_option_block *options, option = find_dhcp_option_with_encap ( options, tag, &encapsulator ); if ( option ) { old_len = dhcp_option_len ( option ); - DBG ( "Resizing DHCP option %s from length %d to %d in block " + DBG ( "Resizing DHCP option %s from length %d to %zd in block " "%p\n", dhcp_tag_name (tag), option->len, len, options ); } else { old_len = 0; - DBG ( "Creating DHCP option %s (length %d) in block %p\n", + DBG ( "Creating DHCP option %s (length %zd) in block %p\n", dhcp_tag_name ( tag ), len, options ); } |