From 7348ee6049cb4207cfb13b7b31de2a41292941bc Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 26 Jan 2020 11:36:45 -0600 Subject: Add mayfork to printf --- toys/posix/printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/printf.c') diff --git a/toys/posix/printf.c b/toys/posix/printf.c index b51eddc0..2cbf3035 100644 --- a/toys/posix/printf.c +++ b/toys/posix/printf.c @@ -7,7 +7,7 @@ * * todo: *m$ ala printf("%1$d:%2$.*3$d:%4$.*3$d\n", hour, min, precision, sec); -USE_PRINTF(NEWTOY(printf, "<1?^", TOYFLAG_USR|TOYFLAG_BIN)) +USE_PRINTF(NEWTOY(printf, "<1?^", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_MAYFORK)) config PRINTF bool "printf" -- cgit v1.2.3