ls: fix one-bit-off which caused -H to behave as -h
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 27 Feb 2011 03:10:00 +0000 (04:10 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 27 Feb 2011 03:10:00 +0000 (04:10 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/ls.c

index 2be3afadf55ea4dab2ef77f8f674c3327f100bc3..2242fbaac055908a8c2377808993c6878b6430d4 100644 (file)
@@ -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,