diff --git a/tools/unpack.c b/tools/unpack.c index 883a0e040..2f81288dc 100644 --- a/tools/unpack.c +++ b/tools/unpack.c @@ -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: