summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2009-05-24 15:27:25 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2009-05-24 15:27:25 +0000
commita6412d5d4b560b82b2f6341754584b4c96fad042 (patch)
tree1403e041fa750f96ad9401cfa9461378241273b7 /bin
parentf435931b4a75365d65f121404d47e6f24331e940 (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/chflags/chflags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chflags/chflags.c b/bin/chflags/chflags.c
index 053a7a7db4cc..02137eb30c34 100644
--- a/bin/chflags/chflags.c
+++ b/bin/chflags/chflags.c
@@ -115,7 +115,7 @@ main(int argc, char *argv[])
fts_options |= FTS_LOGICAL;
}
} else
- fts_options = FTS_LOGICAL;
+ fts_options = hflag ? FTS_PHYSICAL : FTS_LOGICAL;
/* XXX: Why don't chflags and lchflags have compatible prototypes? */
if (hflag)