aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/printf.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-20 15:52:41 -0600
committerElliott Hughes <enh@google.com>2015-01-20 15:52:41 -0600
commit9d1d0ad1236d3c2d85e6c244d148f5ae8f589631 (patch)
tree47180d6501e799600fbc34440812ac3d3fa992e8 /toys/posix/printf.c
parent2c1cf4a02783e2a570ddf7b7ea968c7bed781f91 (diff)
downloadtoybox-9d1d0ad1236d3c2d85e6c244d148f5ae8f589631.tar.gz
fix typo in printf
Diffstat (limited to 'toys/posix/printf.c')
-rw-r--r--toys/posix/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/printf.c b/toys/posix/printf.c
index 5fec4f96..1c2c5471 100644
--- a/toys/posix/printf.c
+++ b/toys/posix/printf.c
@@ -22,7 +22,7 @@ config PRINTF
#define FOR_printf
#include "toys.h"
-// Detect matching character (return true/valse) and advance pointer if match.
+// Detect matching character (return true/false) and advance pointer if match.
static int eat(char **s, char c)
{
int x = (**s == c);