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
187eb493d5
commit
24854d6272
@ -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…
x
Reference in New Issue
Block a user