aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/unarchive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c
index 4d47eff0e..7b85243b1 100644
--- a/libbb/unarchive.c
+++ b/libbb/unarchive.c
@@ -218,7 +218,7 @@ char *extract_archive(FILE *src_stream, FILE *out_stream, const file_header_t *f
}
if ((function & extract_list) || (function & extract_verbose_list)){
/* fputs doesnt add a trailing \n, so use fprintf */
- fprintf(out_stream, "%s\n", file_entry->name);
+ fprintf(out_stream, "%s\n", full_name);
}
free(full_name);