mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
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
This commit is contained in:
parent
37880089ac
commit
71e9130584
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328603
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue