aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/posix/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ls.c b/toys/posix/ls.c
index 01a64c2d..d9cd90bd 100644
--- a/toys/posix/ls.c
+++ b/toys/posix/ls.c
@@ -272,7 +272,7 @@ static void listfiles(int dirfd, struct dirtree *indir)
}
memset(totals, 0, sizeof(totals));
- if (CFG_TOYBOX_DEBUG) memset(len, 0, sizeof(len));
+ memset(len, 0, sizeof(len));
// Top level directory was already populated by main()
if (!indir->parent) {