Skip to content

Commit

Permalink
tools/unpack: fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Aug 10, 2023
1 parent fa6b095 commit 282cfb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/unpack.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ extract_file(

rv = rename(tmp_filename, filename);
if (rv < 0 && errno != ENOENT) {
print_err(rv = -errno, "unlink", path_stack);
print_err(rv = -errno, "rename", path_stack);
goto out;
}
out:
Expand Down

0 comments on commit 282cfb7

Please sign in to comment.