]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r292576: boot1.efi: show EFI error number, not full status value
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Jan 2016 02:37:17 +0000 (02:37 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Jan 2016 02:37:17 +0000 (02:37 +0000)
commit7cc94bfa276174400d3b2a5d002178486e79a416
treefb4dbc01ff151c47f261a00835845af74e67aa08
parentb9649bd3b4c666d96afd3d1fc0a52b280ac9b1e0
MFC r292576: boot1.efi: show EFI error number, not full status value

EFI return values set the high bit to indicate an error. The log
messages changed here are printed only in the case of an error,
so including the error bit is redundant. Also switch to decimal to
match the error definitions (in sys/boot/efi/include/efierr.h).

git-svn-id: svn://svn.freebsd.org/base/stable/10@293299 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/efi/boot1/boot1.c