freebsd-dev/usr.sbin/efivar
Eric van Gyzen d0f4e583bf efivar: handle error when reading --fromfile
The result of read() was stored in an unsigned variable, so the
test for a negative value would never work.

While I'm here, print a better error message for an empty file,
omitting the misleading errno message.

Reported by:	Coverity
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
2022-02-25 09:30:29 -06:00
..
efiutil.c Tweak output of the loader variable 2020-09-25 18:20:41 +00:00
efiutil.h
efivar.8 efivar: Add --quiet to not report errors 2021-04-09 16:36:20 -06:00
efivar.c efivar: handle error when reading --fromfile 2022-02-25 09:30:29 -06:00
Makefile pkgbase: Remove libefivar package and add a efi-tools one 2021-09-07 10:24:21 +02:00
Makefile.depend