summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-11-03 16:52:50 +0000
committerEric Andersen <andersen@codepoet.org>1999-11-03 16:52:50 +0000
commitbe971d6b693ca9cd1c9aa9eb6053aa2592c40547 (patch)
tree218f56d6ffdbb873e3d00d0ba3c48a17451d6668 /archival
parent219d6f5e0cb4c8e1a9a5f554a8768c7afb12b0b4 (diff)
downloadbusybox-w32-be971d6b693ca9cd1c9aa9eb6053aa2592c40547.tar.gz
busybox-w32-be971d6b693ca9cd1c9aa9eb6053aa2592c40547.tar.bz2
busybox-w32-be971d6b693ca9cd1c9aa9eb6053aa2592c40547.zip
More init fixes. Fixed sync segfault.
-Erik
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/archival/tar.c b/archival/tar.c
index c7ef3851c..cd255f85c 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -37,8 +37,8 @@
37 37
38 38
39static const char tar_usage[] = 39static const char tar_usage[] =
40 "Create, extract, or list files from a TAR file\n\n" 40 "tar -[cxtvOf] [tarFileName] [FILE] ...\n"
41 "usage: tar -[cxtvOf] [tarFileName] [FILE] ...\n" 41 "Create, extract, or list files from a tar file\n\n"
42 "\tc=create, x=extract, t=list contents, v=verbose,\n" 42 "\tc=create, x=extract, t=list contents, v=verbose,\n"
43 "\tO=extract to stdout, f=tarfile or \"-\" for stdin\n"; 43 "\tO=extract to stdout, f=tarfile or \"-\" for stdin\n";
44 44
@@ -151,10 +151,8 @@ extern int tar_main (int argc, char **argv)
151 argc--; 151 argc--;
152 argv++; 152 argv++;
153 153
154 if (argc < 1) { 154 if (argc < 1)
155 fprintf (stderr, "%s", tar_usage); 155 usage( tar_usage);
156 exit (FALSE);
157 }
158 156
159 157
160 errorFlag = FALSE; 158 errorFlag = FALSE;