]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
efibootmgr: Use returned error code for error message, not errno
authorfreqlabs <freqlabs@FreeBSD.org>
Mon, 19 Oct 2020 10:38:40 +0000 (10:38 +0000)
committerfreqlabs <freqlabs@FreeBSD.org>
Mon, 19 Oct 2020 10:38:40 +0000 (10:38 +0000)
commite305c0d7fbed603aa2586aba171243b4e2e6d0d6
tree710b0904595e27a58175cf5679c0ca524cc20a05
parentd33688830854e851b61c28ebc60e5c866c730978
efibootmgr: Use returned error code for error message, not errno

efivar_unix_path_to_device_path returns the error code, it does not set errno.

Reviewed by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D26852
usr.sbin/efibootmgr/efibootmgr.c