mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 19:38:37 +03:00
Fix compiler warnings that appear only on OpenBSD.
This commit is contained in:
@@ -217,7 +217,7 @@ static int undinet_call ( struct undi_nic *undinic, unsigned int function,
|
||||
DBGC ( undinic, "UNDINIC %p %s failed: %s\n", undinic,
|
||||
undinet_function_name ( function ), strerror ( rc ) );
|
||||
DBGC ( undinic, "UNDINIC %p parameters at %04x:%04x length "
|
||||
"%#02x, entry point at %04x:%04x\n", undinic,
|
||||
"%#02zx, entry point at %04x:%04x\n", undinic,
|
||||
rm_params.segment, rm_params.offset, params_len,
|
||||
undinet_entry_point.segment,
|
||||
undinet_entry_point.offset );
|
||||
|
||||
@@ -70,7 +70,7 @@ static int undirom_parse_pxeromid ( struct undi_rom *undirom,
|
||||
undirom->data_size = undi_rom_id.DataSize;
|
||||
|
||||
DBGC ( undirom, "UNDIROM %p has UNDI loader at %04x:%04x "
|
||||
"(code %04x data %04x)\n", undirom,
|
||||
"(code %04zx data %04zx)\n", undirom,
|
||||
undirom->loader_entry.segment, undirom->loader_entry.offset,
|
||||
undirom->code_size, undirom->data_size );
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user