summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dhcp.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-05-17 16:53:32 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-05-17 16:53:32 +0000
commit067ea25e278d221724425e492452d4341ab2e669 (patch)
tree6abef88f0bf831cd6316cc5adbb550d337c7275a /mdk-stage1/dhcp.c
parent93796296016933af1c23f13fc2ae6d5f62299527 (diff)
downloaddrakx-067ea25e278d221724425e492452d4341ab2e669.tar
drakx-067ea25e278d221724425e492452d4341ab2e669.tar.gz
drakx-067ea25e278d221724425e492452d4341ab2e669.tar.bz2
drakx-067ea25e278d221724425e492452d4341ab2e669.tar.xz
drakx-067ea25e278d221724425e492452d4341ab2e669.zip
don't write nonsense code to separate frontend from stage1,
but rather, try to do some clever things
Diffstat (limited to 'mdk-stage1/dhcp.c')
-rw-r--r--mdk-stage1/dhcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/dhcp.c b/mdk-stage1/dhcp.c
index 230e8757b..78a0712f9 100644
--- a/mdk-stage1/dhcp.c
+++ b/mdk-stage1/dhcp.c
@@ -471,7 +471,7 @@ static int handle_transaction(int s, struct bootp_request * breq, struct bootp_r
timeout = 5;
}
- error_message("No DHCP reply received.");
+ stg1_error_message("No DHCP reply received.");
return -1;
}
@@ -511,7 +511,7 @@ enum return_type perform_dhcp(struct interface_info * intf)
char requested_options[50];
if (strncmp(intf->device, "eth", 3)) {
- error_message("DHCP available only for Ethernet networking.");
+ stg1_error_message("DHCP available only for Ethernet networking.");
return RETURN_ERROR;
}