aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);