aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/pending/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/tar.c b/toys/pending/tar.c
index 384199ea..8d4c3d60 100644
--- a/toys/pending/tar.c
+++ b/toys/pending/tar.c
@@ -184,7 +184,7 @@ static void add_file(struct archive_handler *tar, char **nam, struct stat *st)
if (!*hname) return;
while ((c = strstr(hname, "../"))) hname = c + 3;
if (warn && hname != name) {
- printf("removing leading '%.*s' "
+ fprintf(stderr, "removing leading '%.*s' "
"from member names\n", (int)(hname-name), name);
warn = 0;
}