]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
efibootmgr: Use returned error code for error message, not errno
authorRyan Moeller <freqlabs@FreeBSD.org>
Mon, 19 Oct 2020 10:38:40 +0000 (10:38 +0000)
committerRyan Moeller <freqlabs@FreeBSD.org>
Mon, 19 Oct 2020 10:38:40 +0000 (10:38 +0000)
commitb8adbe1c15af7ed4b150ed70c295639a6299a98a
tree710b0904595e27a58175cf5679c0ca524cc20a05
parent665c8c3e7dbd0d8f00d6b89e1cc7b2eeb6d1b79d
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