cpio: Set lafe_warnc code to 0

Otherwise an unknown error is printed, which does not help the user
(especially since a custom message is printed in this case already).

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This commit is contained in:
Tobias Stoeckmann committed 2026-03-16 14:34:32 +01:00
1 parent 71d8195f2e
commit 2f6e6b03ba
1 file changed
+1 -1
+1 -1
View File
@@ -320,7 +320,7 @@ main(int argc, char *argv[])
if (owner_parse(cpio->argument, &owner, &errmsg) != 0) {
if (!errmsg)
errmsg = "Error parsing owner";
lafe_warnc(-1, "%s", errmsg);
lafe_warnc(0, "%s", errmsg);
usage();
}
if (owner.uid != -1)