From b9f19d2493195fa9be3e5d0045a2c82dbac1a85a Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 15 Mar 2019 15:55:55 -0400 Subject: note TODO for %b: it needs to handle width and precision like %s --- printf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/printf.c b/printf.c index 71f0e60..67bf279 100644 --- a/printf.c +++ b/printf.c @@ -139,6 +139,7 @@ static const char *convert(const char *conv, const char *operand) /* conversion specifier */ switch (*conv) { case 'b': + /* TODO: print to string, then fallthru */ return echo(operand); case 's': -- cgit v1.2.1