aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2017-01-28 17:40:55 -0600
committerRob Landley <rob@landley.net>2017-01-28 17:40:55 -0600
commit8ceb2dec8b7233385c1b2983c907592c46a48bd8 (patch)
tree66caa5e8c9f6af031c37432358cdcddf95890c88
parentf3c44e45dcae31a65e58d1a5fd2c5bfc5732534d (diff)
downloadtoybox-8ceb2dec8b7233385c1b2983c907592c46a48bd8.tar.gz
Whitespace.
-rw-r--r--toys/other/acpi.c1
-rw-r--r--toys/posix/ls.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/toys/other/acpi.c b/toys/other/acpi.c
index bca53814..2f856c8d 100644
--- a/toys/other/acpi.c
+++ b/toys/other/acpi.c
@@ -140,5 +140,4 @@ void acpi_main(void)
dirtree_read("/sys/class/power_supply", acpi_callback);
if (toys.optflags & FLAG_t) dirtree_read("/sys/class", temp_callback);
if (toys.optflags & FLAG_c) dirtree_read("/sys/class/thermal", cool_callback);
-
}
diff --git a/toys/posix/ls.c b/toys/posix/ls.c
index d2cef263..b306dc91 100644
--- a/toys/posix/ls.c
+++ b/toys/posix/ls.c
@@ -323,7 +323,7 @@ static void listfiles(int dirfd, struct dirtree *indir)
if (flags == (FLAG_1|FLAG_f)) return;
// Read directory contents. We dup() the fd because this will close it.
// This reads/saves contents to display later, except for in "ls -1f" mode.
- } else dirtree_recurse(indir, filter, dup(dirfd),
+ } else dirtree_recurse(indir, filter, dup(dirfd),
DIRTREE_SYMFOLLOW*!!(flags&FLAG_L));
// Copy linked list to array and sort it. Directories go in array because