From bce66ba5f462c9a1442d898e9dd2f4b250d4d039 Mon Sep 17 00:00:00 2001 From: kientzle Date: Sat, 15 Mar 2008 05:08:21 +0000 Subject: style(9) fix to add whitespace around an '=' sign and restore a comment that got accidentally dropped. --- usr.bin/tar/bsdtar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/tar') 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; -- cgit v1.1