diff --git a/sys/arch/i386/stand/pxeboot/main.c b/sys/arch/i386/stand/pxeboot/main.c index d50b4a8200f5..846841ae616d 100644 --- a/sys/arch/i386/stand/pxeboot/main.c +++ b/sys/arch/i386/stand/pxeboot/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.10 2005/11/11 21:42:13 dsl Exp $ */ +/* $NetBSD: main.c,v 1.11 2005/11/13 22:23:30 dsl Exp $ */ /* * Copyright (c) 1996 @@ -55,8 +55,6 @@ int debug; extern char bootprog_name[], bootprog_rev[], bootprog_date[], bootprog_maker[]; -#define TIMEOUT 5 - int main(void); void command_help __P((char *)); @@ -130,7 +128,7 @@ main(void) printf("Press return to boot now, any other key for boot menu\n"); printf("Starting in "); - c = awaitkey(TIMEOUT, 1); + c = awaitkey(boot_params.bp_timeout, 1); if ((c != '\r') && (c != '\n') && (c != '\0')) { printf("type \"?\" or \"help\" for help.\n"); bootmenu(); /* does not return */