aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2017-04-11 13:38:37 -0500
committerRob Landley <rob@landley.net>2017-04-11 13:38:37 -0500
commit3354319e3d3e0b4f5f113d65fa508608f278092c (patch)
treebfb90a786ed61c04231489ef8547c8a54bf3286a
parent42704b702d3d479f96074501ea574fa7e2694855 (diff)
downloadtoybox-3354319e3d3e0b4f5f113d65fa508608f278092c.tar.gz
Silence a broken warning by hitting it with a rock.
-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 da0a142d..8dc5536e 100644
--- a/toys/posix/ls.c
+++ b/toys/posix/ls.c
@@ -413,7 +413,7 @@ static void listfiles(int dirfd, struct dirtree *indir)
xputc('\n');
width = 0;
} else {
- printf(" "+mm);
+ printf(" "+mm, 0); // shut up the stupid compiler
width += 2-mm;
}
}