diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-11-03 19:52:50 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-11-03 19:52:50 +0300 |
commit | be971d6b693ca9cd1c9aa9eb6053aa2592c40547 (patch) | |
tree | 218f56d6ffdbb873e3d00d0ba3c48a17451d6668 /tar.c | |
parent | 219d6f5e0cb4c8e1a9a5f554a8768c7afb12b0b4 (diff) |
More init fixes. Fixed sync segfault.
-Erik
Diffstat (limited to 'tar.c')
-rw-r--r-- | tar.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -37,8 +37,8 @@ static const char tar_usage[] = - "Create, extract, or list files from a TAR file\n\n" - "usage: tar -[cxtvOf] [tarFileName] [FILE] ...\n" + "tar -[cxtvOf] [tarFileName] [FILE] ...\n" + "Create, extract, or list files from a tar file\n\n" "\tc=create, x=extract, t=list contents, v=verbose,\n" "\tO=extract to stdout, f=tarfile or \"-\" for stdin\n"; @@ -151,10 +151,8 @@ extern int tar_main (int argc, char **argv) argc--; argv++; - if (argc < 1) { - fprintf (stderr, "%s", tar_usage); - exit (FALSE); - } + if (argc < 1) + usage( tar_usage); errorFlag = FALSE; |