summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/verify.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-21 08:27:05 +0000
committerphk <phk@FreeBSD.org>2003-10-21 08:27:05 +0000
commitd17fa4e775df472e1132a3439ff2290e528a1d5e (patch)
tree3202cca545cf4b89f91b9a9dc3529e8a93a01d94 /usr.sbin/mtree/verify.c
parentb8f582b8866ce448d694ad70af2a6e211f2b9ae0 (diff)
downloadFreeBSD-src-d17fa4e775df472e1132a3439ff2290e528a1d5e.zip
FreeBSD-src-d17fa4e775df472e1132a3439ff2290e528a1d5e.tar.gz
Remove clause 3 in the copyrights (according to permission in src/COPYRIGHT)
Remove trailing whitespace.
Diffstat (limited to 'usr.sbin/mtree/verify.c')
-rw-r--r--usr.sbin/mtree/verify.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/mtree/verify.c b/usr.sbin/mtree/verify.c
index 4028839..c95de38 100644
--- a/usr.sbin/mtree/verify.c
+++ b/usr.sbin/mtree/verify.c
@@ -10,11 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -173,7 +169,7 @@ miss(NODE *p, char *tail)
/* Don't print missing message if file exists as a
symbolic link and the -q flag is set. */
struct stat statbuf;
-
+
if (qflag && stat(path, &statbuf) == 0)
p->flags |= F_VISIT;
else
OpenPOWER on IntegriCloud