aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-09-16 14:56:40 -0500
committerRob Landley <rob@landley.net>2018-09-16 14:56:40 -0500
commit2b8a9766d8b4713b63a9a922d7625e9366dff0c1 (patch)
tree7d22f2f6a60cd55f730a91cad3729b475e152fc4 /toys/posix
parentbc5dcac48484c3cb8542715d45e126258e034b12 (diff)
downloadtoybox-2b8a9766d8b4713b63a9a922d7625e9366dff0c1.tar.gz
file: remove %s with no corresponding argument.
I've had added the argument, but I don't know what it wants? Ubuntu's file calls a bmp file "data".
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/file.c b/toys/posix/file.c
index 4df0bc60..8d8d5579 100644
--- a/toys/posix/file.c
+++ b/toys/posix/file.c
@@ -373,7 +373,7 @@ static void do_regular_file(int fd, char *name)
} else if (len > 0x32 && !memcmp(s, "BM", 2) && !memcmp(s+6, "\0\0\0\0", 4)) {
int w = peek_le(s+0x12,4), h = peek_le(s+0x16,4), bpp = peek_le(s+0x1c,2);
- xprintf("BMP image, %d x %d, %d bpp, %s\n", w, h, bpp);
+ xprintf("BMP image, %d x %d, %d bpp\n", w, h, bpp);
} else {
char *what = 0;
int i, bytes;