diff options
author | Sean Bruno <sbruno@FreeBSD.org> | 2018-01-30 20:00:12 +0000 |
---|---|---|
committer | Sean Bruno <sbruno@FreeBSD.org> | 2018-01-30 20:00:12 +0000 |
commit | 71e9130584c0320784db1d65974003bf5a0ed301 (patch) | |
tree | 41795d0f699b204329fddf6420a74abad0a7b107 /stand | |
parent | 37880089ac7fa1d7de9b17de42ccac04a203f376 (diff) | |
download | src-71e9130584c0320784db1d65974003bf5a0ed301.tar.gz src-71e9130584c0320784db1d65974003bf5a0ed301.zip |
Add missing non-POWERPC case to give the scr value something non-zero.
This fixes the instant reboot of netbooting after r328536 on x86 systems.
Reviewed by: peter
Sponsored by: Limelight Networks
Notes
Notes:
svn path=/head/; revision=328603
Diffstat (limited to 'stand')
-rw-r--r-- | stand/common/load_elf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/common/load_elf.c b/stand/common/load_elf.c index 69a5e9ae3dfd..7aee75d64c66 100644 --- a/stand/common/load_elf.c +++ b/stand/common/load_elf.c @@ -716,6 +716,8 @@ __elfN(loadimage)(struct preloaded_file *fp, elf_file_t ef, u_int64_t off) #else scr = htobe32(size); #endif +#else + scr = size; #endif archsw.arch_copyin(&scr, lastaddr, sizeof(scr)); lastaddr += sizeof(scr); |