aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-09-24 18:34:06 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-09-24 18:34:06 +0000
commitc5bd149261e9add5ababb315cd21f5016a3e1755 (patch)
tree3b45e10e19985a7956e5ff32cdaa238efd570d19 /libbb
parentdece3c5684bf32239f84540be8e4359b1ee26672 (diff)
downloadbusybox-c5bd149261e9add5ababb315cd21f5016a3e1755.tar.gz
List full path instead of relative path if prefix is specified (this was supposed to be in last patch)
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);