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:
Leah Rowe
2026-03-03 22:27:51 +00:00
parent f93a40ecb6
commit 8f81ed314a
+2 -1
View File
@@ -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"