From 9e5e6e7b51e84825e9e7b4849061f2c71344b759 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 31 May 2005 11:11:47 +0000 Subject: [PATCH] Reverse trailer/delay order (delay first) --- boot/bootimage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boot/bootimage.c b/boot/bootimage.c index 5498f6a10..78db1843a 100755 --- a/boot/bootimage.c +++ b/boot/bootimage.c @@ -568,14 +568,14 @@ void exec_image(char *image) } #endif - /* Run the trailer function just before starting Minix. */ - if (!run_trailer()) { errno= 0; return; } - /* Do delay if wanted. */ if((delayvalue = b_value("bootdelay")) != nil > 0) { delay(delayvalue); } + /* Run the trailer function just before starting Minix. */ + if (!run_trailer()) { errno= 0; return; } + /* Translate the boot parameters to what Minix likes best. */ if (!params2params(params, sizeof(params))) { errno= 0; return; }