Author: sbruno Date: Tue Jan 30 20:00:12 2018 New Revision: 328603 URL: https://svnweb.freebsd.org/changeset/base/328603
Log: 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 Modified: head/stand/common/load_elf.c Modified: head/stand/common/load_elf.c ============================================================================== --- head/stand/common/load_elf.c Tue Jan 30 19:34:58 2018 (r328602) +++ head/stand/common/load_elf.c Tue Jan 30 20:00:12 2018 (r328603) @@ -716,6 +716,8 @@ __elfN(loadimage)(struct preloaded_file *fp, elf_file_ #else scr = htobe32(size); #endif +#else + scr = size; #endif archsw.arch_copyin(&scr, lastaddr, sizeof(scr)); lastaddr += sizeof(scr); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"