summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-27 04:10:00 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-27 04:10:00 +0100
commitcd387f2554c62c7716970e90af54b8bde6c86c86 (patch)
tree143575d5c53f663edcbee692e05d3b5d935aa1e4
parent143c5baf6c2471c7f695e5e20da865f9e799ffbd (diff)
ls: fix one-bit-off which caused -H to behave as -h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--coreutils/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 2be3afadf..2242fbaac 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -234,7 +234,7 @@ enum {
OPTBIT_Z, /* 25 */
OPTBIT_L = OPTBIT_K + 2 * ENABLE_SELINUX,
OPTBIT_H, /* 27 */
- OPTBIT_h = OPTBIT_L + 1 * ENABLE_FEATURE_LS_FOLLOWLINKS,
+ OPTBIT_h = OPTBIT_L + 2 * ENABLE_FEATURE_LS_FOLLOWLINKS,
OPTBIT_T = OPTBIT_h + 2 * ENABLE_FEATURE_HUMAN_READABLE,
OPTBIT_w, /* 30 */
OPTBIT_color = OPTBIT_T + 2 * ENABLE_FEATURE_AUTOWIDTH,