From 9ef493f9c63a131890c8017444c63a4be63a665f Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 15 Mar 2008 05:08:21 +0000 Subject: [PATCH] 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(-) diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c index b158ebf18cc0..0c21d7c4c750 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;