aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/interface/pcbios/bios_cachedhcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/interface/pcbios/bios_cachedhcp.c')
-rw-r--r--src/arch/x86/interface/pcbios/bios_cachedhcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/interface/pcbios/bios_cachedhcp.c b/src/arch/x86/interface/pcbios/bios_cachedhcp.c
index 3d38699..277c40d 100644
--- a/src/arch/x86/interface/pcbios/bios_cachedhcp.c
+++ b/src/arch/x86/interface/pcbios/bios_cachedhcp.c
@@ -59,7 +59,8 @@ static void cachedhcp_init ( void ) {
}
/* Record cached DHCPACK */
- if ( ( rc = cachedhcp_record ( phys_to_user ( cached_dhcpack_phys ),
+ if ( ( rc = cachedhcp_record ( &cached_dhcpack,
+ phys_to_user ( cached_dhcpack_phys ),
sizeof ( BOOTPLAYER_t ) ) ) != 0 ) {
DBGC ( colour, "CACHEDHCP could not record DHCPACK: %s\n",
strerror ( rc ) );