fix a bug in boot_func.

This commit is contained in:
okuji 1999-10-03 11:35:50 +00:00
parent 1a8f41bc4c
commit 5a0b14429c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
1999-10-03 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* stage2/builtins.c (boot_func): Pass MBI.CMDLINE instead of ARG
to bsd_boot.
1999-10-03 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* stage2/gunzip.c (gunzip_test_header): Check if CURRENT_DRIVE

View file

@ -85,7 +85,7 @@ boot_func (char *arg, int flags)
case KERNEL_TYPE_FREEBSD:
case KERNEL_TYPE_NETBSD:
/* *BSD */
bsd_boot (kernel_type, bootdev, arg);
bsd_boot (kernel_type, bootdev, (char *) mbi.cmdline);
break;
case KERNEL_TYPE_LINUX: