mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: don't use err_if in usage
fname isn't set here, and fname is used in err_if Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -606,7 +606,8 @@ usage(void)
|
||||
{
|
||||
const char *util = getnvmprogname();
|
||||
#ifdef __OpenBSD__
|
||||
err_if(pledge("stdio", NULL) == -1);
|
||||
if (pledge("stdio", NULL) == -1)
|
||||
err(ECANCELED, NULL);
|
||||
#endif
|
||||
fprintf(stderr,
|
||||
"Modify Intel GbE NVM images e.g. set MAC\n"
|
||||
|
||||
Reference in New Issue
Block a user