aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/posix/ls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/toys/posix/ls.c b/toys/posix/ls.c
index fb45636b..6bb41521 100644
--- a/toys/posix/ls.c
+++ b/toys/posix/ls.c
@@ -445,8 +445,7 @@ void ls_main(void)
}
// Typecast means double_list->prev temporarirly goes in dirtree->parent
- dlist_add_nomalloc((void *)&TT.files->child,
- (struct double_list *)dt);
+ dlist_add_nomalloc((void *)&TT.files->child, (struct double_list *)dt);
}
// Turn double_list into dirtree