summaryrefslogtreecommitdiffstats
path: root/src/usr/aoeboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/aoeboot.c')
-rw-r--r--src/usr/aoeboot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/aoeboot.c b/src/usr/aoeboot.c
index 82b63e7e1..6bf56a87b 100644
--- a/src/usr/aoeboot.c
+++ b/src/usr/aoeboot.c
@@ -6,6 +6,7 @@
#include <gpxe/ata.h>
#include <gpxe/netdevice.h>
#include <gpxe/dhcp.h>
+#include <gpxe/settings.h>
#include <gpxe/abft.h>
#include <int13.h>
#include <usr/aoeboot.h>
@@ -55,7 +56,7 @@ int aoeboot ( const char *root_path ) {
container_of ( ata.backend, struct aoe_session, refcnt );
abft_fill_data ( aoe );
- drive.drive = find_global_dhcp_num_option ( DHCP_EB_BIOS_DRIVE );
+ drive.drive = fetch_uintz_setting ( NULL, DHCP_EB_BIOS_DRIVE );
drive.blockdev = &ata.blockdev;
register_int13_drive ( &drive );