From 546565f32103da7fc66ddddeaabe9cbcc30c831a Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 29 Mar 2026 07:09:06 +0100 Subject: cleanup Signed-off-by: Leah Rowe --- util/libreboot-utils/mkhtemp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'util/libreboot-utils/mkhtemp.c') diff --git a/util/libreboot-utils/mkhtemp.c b/util/libreboot-utils/mkhtemp.c index 5be5a38a..04ce1993 100644 --- a/util/libreboot-utils/mkhtemp.c +++ b/util/libreboot-utils/mkhtemp.c @@ -62,8 +62,7 @@ main(int argc, char *argv[]) int type = MKHTEMP_FILE; (void) errhook(exit_cleanup); - - if (lbgetprogname(argv[0]) == NULL) + if (lbsetprogname(argv[0]) == NULL) err_exit(errno, "could not set progname"); /* https://man.openbsd.org/pledge.2 */ @@ -143,7 +142,7 @@ main(int argc, char *argv[]) err_usage: err_exit(EINVAL, - "usage: %s [-d] [-p dir] [template]\n", getnvmprogname()); + "usage: %s [-d] [-p dir] [template]\n", lbgetprogname()); } static void -- cgit v1.2.1