Date: Sat, 12 Mar 2016 06:50:16 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r296713 - head/sys/boot/efi/boot1 Message-ID: <201603120650.u2C6oG8Y040428@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Sat Mar 12 06:50:16 2016 New Revision: 296713 URL: https://svnweb.freebsd.org/changeset/base/296713 Log: Print the correct size of loader.efi when failing to load it into memory. Obtained from: AsiaBSDCon Sponsored by: ABT Systems Ltd Modified: head/sys/boot/efi/boot1/boot1.c Modified: head/sys/boot/efi/boot1/boot1.c ============================================================================== --- head/sys/boot/efi/boot1/boot1.c Sat Mar 12 03:53:58 2016 (r296712) +++ head/sys/boot/efi/boot1/boot1.c Sat Mar 12 06:50:16 2016 (r296713) @@ -405,7 +405,7 @@ try_boot() if ((status = bs->LoadImage(TRUE, image, devpath_last(dev->devpath), loaderbuf, loadersize, &loaderhandle)) != EFI_SUCCESS) { printf("Failed to load image provided by %s, size: %zu, (%lu)\n", - mod->name, bufsize, EFI_ERROR_CODE(status)); + mod->name, loadersize, EFI_ERROR_CODE(status)); goto errout; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603120650.u2C6oG8Y040428>