diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-25 00:03:31 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-25 00:03:31 +0000 |
| commit | f06db344ad53c987e38970b55e119a5af36641e1 (patch) | |
| tree | dc3ae6c5ac3ae9b37d4cb3fc32f6d7e480d3c78c /util/libreboot-utils/lib/num.c | |
| parent | 3ddd7a0d36ef5f3d98f6e25efbdaf479d66cc35a (diff) | |
mkhtemp: fix err()
calling it indirectly was out of the question.
must call it directly.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/lib/num.c')
| -rw-r--r-- | util/libreboot-utils/lib/num.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/lib/num.c b/util/libreboot-utils/lib/num.c index 43efba71..0b76e257 100644 --- a/util/libreboot-utils/lib/num.c +++ b/util/libreboot-utils/lib/num.c @@ -436,6 +436,6 @@ void check_bin(size_t a, const char *a_name) { if (a > 1) - err_no_cleanup(EINVAL, "%s must be 0 or 1, but is %lu", + err_no_cleanup(0, EINVAL, "%s must be 0 or 1, but is %lu", a_name, (size_t)a); } |
