diff options
-rw-r--r-- | coreutils/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 38cabcab6..13c863c6e 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -633,7 +633,7 @@ static void showdirs(struct dnode **dn, int first) | |||
633 | } | 633 | } |
634 | subdnp = list_dir((*dn)->fullname, &nfiles); | 634 | subdnp = list_dir((*dn)->fullname, &nfiles); |
635 | #if ENABLE_DESKTOP | 635 | #if ENABLE_DESKTOP |
636 | if (all_fmt & STYLE_LONG) | 636 | if ((all_fmt & STYLE_MASK) == STYLE_LONG) |
637 | printf("total %"OFF_FMT"u\n", calculate_blocks(subdnp)); | 637 | printf("total %"OFF_FMT"u\n", calculate_blocks(subdnp)); |
638 | #endif | 638 | #endif |
639 | if (nfiles > 0) { | 639 | if (nfiles > 0) { |