From f06db344ad53c987e38970b55e119a5af36641e1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 25 Mar 2026 00:03:31 +0000 Subject: mkhtemp: fix err() calling it indirectly was out of the question. must call it directly. Signed-off-by: Leah Rowe --- util/libreboot-utils/lib/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/libreboot-utils/lib/command.c') diff --git a/util/libreboot-utils/lib/command.c b/util/libreboot-utils/lib/command.c index 6d0e8856..c7048a23 100644 --- a/util/libreboot-utils/lib/command.c +++ b/util/libreboot-utils/lib/command.c @@ -110,7 +110,7 @@ set_cmd(int argc, char *argv[]) cmd = x->cmd[c].str; if (scmp(argv[2], cmd, MAX_CMD_LEN, &rval) < 0) - err_no_cleanup(EINVAL, + err_no_cleanup(0, EINVAL, "could not compare command strings"); if (rval != 0) continue; /* not the right command */ @@ -123,7 +123,7 @@ set_cmd(int argc, char *argv[]) return; } - err_no_cleanup(EINVAL, + err_no_cleanup(0, EINVAL, "Too few args on command '%s'", cmd); } -- cgit v1.2.1