mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +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 New Issue
Block a user