From 282cfb7590f266e411d9ba7720c65a1f040949df Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 10 Aug 2023 14:34:01 +0200 Subject: [PATCH] tools/unpack: fix error message --- tools/unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: