diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-11-14 08:10:15 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-11-14 08:10:15 +0000 |
commit | 642e5ef3dfa50b829b83414db1f8662dda5592ca (patch) | |
tree | 2303747520bef33303b9a3e556058133f8425a1d /sys/boot | |
parent | 42ecbdff706e51c796129c0cb8f4af28c749068d (diff) | |
download | FreeBSD-src-642e5ef3dfa50b829b83414db1f8662dda5592ca.zip FreeBSD-src-642e5ef3dfa50b829b83414db1f8662dda5592ca.tar.gz |
move init of booted_kernel to bootinfo.c
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/alpha/libalpha/elf_freebsd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/boot/alpha/libalpha/elf_freebsd.c b/sys/boot/alpha/libalpha/elf_freebsd.c index e76741f..74faee2 100644 --- a/sys/boot/alpha/libalpha/elf_freebsd.c +++ b/sys/boot/alpha/libalpha/elf_freebsd.c @@ -118,12 +118,10 @@ elf_exec(struct preloaded_file *fp) return(err); /* - * Fill in the bootinfo for the kernel. + * Fill in rest of bootinfo for the kernel. */ - strncpy(bootinfo_v1.booted_kernel, fp->f_name, - sizeof(bootinfo_v1.booted_kernel)); flen = prom_getenv(PROM_E_BOOTED_OSFLAGS, bootinfo_v1.boot_flags, - sizeof(bootinfo_v1.boot_flags)); + sizeof(bootinfo_v1.boot_flags)); bootinfo_v1.hwrpb = (void *)HWRPB_ADDR; bootinfo_v1.hwrpbsize = ((struct rpb *)HWRPB_ADDR)->rpb_size; bootinfo_v1.cngetc = NULL; |