aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/alpha
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2000-11-14 08:10:15 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2000-11-14 08:10:15 +0000
commit178e6e0feda80bf4818a9d350869575ef59fba0a (patch)
treec077b209153cf6f78c505947b19608f67ff1a727 /sys/boot/alpha
parentd6514f21d70202e7d33cb3ae646e5833207465cf (diff)
downloadsrc-178e6e0feda80bf4818a9d350869575ef59fba0a.tar.gz
src-178e6e0feda80bf4818a9d350869575ef59fba0a.zip
move init of booted_kernel to bootinfo.c
Notes
Notes: svn path=/head/; revision=68712
Diffstat (limited to 'sys/boot/alpha')
-rw-r--r--sys/boot/alpha/libalpha/elf_freebsd.c6
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 e76741f526c0..74faee2a77ec 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;