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:
Sean Bruno 2018-01-30 20:00:12 +00:00
parent 37880089ac
commit 71e9130584
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328603

View File

@ -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);