summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-15 15:55:55 -0400
committerJakob Kaivo <jkk@ung.org>2019-03-15 15:55:55 -0400
commitb9f19d2493195fa9be3e5d0045a2c82dbac1a85a (patch)
tree58833e9c5f1ea26d0b5d7b6e1bfc011918c4424e
parent5747b1a1ada4f77e37c61f3fd7b2bfd97ae29a35 (diff)
note TODO for %b: it needs to handle width and precision like %s
-rw-r--r--printf.c1
1 files changed, 1 insertions, 0 deletions
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':