summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/include/common.h
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-24 16:35:40 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-24 16:35:40 +0000
commit56ab5a18fee5257c3c875f2b8597b8379c7b959c (patch)
treeed1e19ebc1e049d9dfd723a263db9d88a10aa5fe /util/libreboot-utils/include/common.h
parent9de01208b019d734f5dec6293d26f7039ddba9f0 (diff)
mkhtemp: show progname on error
i have my own getprogname implementation, because not every libc is good enough to include one. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/include/common.h')
-rw-r--r--util/libreboot-utils/include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h
index b26448db..a632b993 100644
--- a/util/libreboot-utils/include/common.h
+++ b/util/libreboot-utils/include/common.h
@@ -547,6 +547,7 @@ int mkdirat_on_eintr(int dirfd,
const char *pathname, mode_t mode);
int if_err(int condition, int errval);
int if_err_sys(int condition);
+char *lbgetprogname(char *argv0);
/* asserts */