summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-03-15 05:08:21 +0000
committerkientzle <kientzle@FreeBSD.org>2008-03-15 05:08:21 +0000
commitbce66ba5f462c9a1442d898e9dd2f4b250d4d039 (patch)
tree06f8291b8c9c03eac5ab77cf0c0ae521a9bde835 /usr.bin
parent1e4445bea8ef4b1cf31a1bfc6e211c6c445b7c62 (diff)
downloadFreeBSD-src-bce66ba5f462c9a1442d898e9dd2f4b250d4d039.zip
FreeBSD-src-bce66ba5f462c9a1442d898e9dd2f4b250d4d039.tar.gz
style(9) fix to add whitespace around an '=' sign and restore
a comment that got accidentally dropped.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tar/bsdtar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c
index b158ebf..0c21d7c 100644
--- a/usr.bin/tar/bsdtar.c
+++ b/usr.bin/tar/bsdtar.c
@@ -136,7 +136,7 @@ static const char *tar_opts = "+Bb:C:cf:HhI:jkLlmnOoPprtT:UuvW:wX:xyZz";
/* Fake short equivalents for long options that otherwise lack them. */
enum {
- OPTION_CHECK_LINKS=1,
+ OPTION_CHECK_LINKS = 1,
OPTION_CHROOT,
OPTION_EXCLUDE,
OPTION_FORMAT,
@@ -631,6 +631,7 @@ main(int argc, char **argv)
if (bsdtar->option_warn_links)
only_mode(bsdtar, "--check-links", "cr");
+ /* Check other parameters only permitted in certain modes. */
if (bsdtar->create_compression != '\0') {
strcpy(buff, "-?");
buff[1] = bsdtar->create_compression;
OpenPOWER on IntegriCloud