diff options
author | jhb <jhb@FreeBSD.org> | 2005-05-27 19:26:11 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-05-27 19:26:11 +0000 |
commit | 3c2fee413700cfbeb07182ccb4327ed76c1885a9 (patch) | |
tree | 7db596ff186c470275bfa60d855aa4910a6055b8 /sys/boot/i386/gptboot/gptboot.c | |
parent | 311d5e11823c8823274a07b206bb11984a17171a (diff) | |
download | FreeBSD-src-3c2fee413700cfbeb07182ccb4327ed76c1885a9.zip FreeBSD-src-3c2fee413700cfbeb07182ccb4327ed76c1885a9.tar.gz |
Print out the commands from /boot.config after parsing them so that they
output is sent to the correct console(s).
PR: kern/66425
Submitted by: Gavin Atkinson gavin at ury dot york dot ac dot uk
MFC after: 1 week
Diffstat (limited to 'sys/boot/i386/gptboot/gptboot.c')
-rw-r--r-- | sys/boot/i386/gptboot/gptboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/gptboot/gptboot.c b/sys/boot/i386/gptboot/gptboot.c index 8c082ca..6508dd6 100644 --- a/sys/boot/i386/gptboot/gptboot.c +++ b/sys/boot/i386/gptboot/gptboot.c @@ -243,9 +243,9 @@ main(void) fsread(ino, cmd, sizeof(cmd)); if (*cmd) { - printf("%s: %s", PATH_CONFIG, cmd); if (parse()) autoboot = 0; + printf("%s: %s", PATH_CONFIG, cmd); /* Do not process this command twice */ *cmd = 0; } |