sbsign: Fix wrong variable being passed to log_error_errno()

This commit is contained in:
Daan De Meyer
2025-02-27 09:49:03 +01:00
parent d9e41bfe02
commit ba6a904442
+1 -1
View File
@@ -252,7 +252,7 @@ static int verb_sign(int argc, char *argv[], void *userdata) {
_cleanup_(unlink_and_freep) char *tmp = NULL;
_cleanup_close_ int dstfd = open_tmpfile_linkable(arg_output, O_RDWR|O_CLOEXEC, &tmp);
if (dstfd < 0)
return log_error_errno(r, "Failed to open temporary file: %m");
return log_error_errno(dstfd, "Failed to open temporary file: %m");
r = fchmod_umask(dstfd, 0666);
if (r < 0)