From 4ecdadb7a601b0613e65bf8547d17b39ed87153f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 28 Mar 2026 08:32:27 +0000 Subject: libreboot-utils: unified errno handling on returns Signed-off-by: Leah Rowe --- util/libreboot-utils/include/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util/libreboot-utils/include') diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index d9f327ee..e8252d4b 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -490,6 +490,7 @@ int try_err(int loop_err, int errval); */ void usage(void); +int set_errno(int saved_errno, int fallback); void err_exit(int nvm_errval, const char *msg, ...); func_t errhook(func_t ptr); /* hook function for cleanup on err */ const char *getnvmprogname(void); -- cgit v1.2.1