From 569d88bce0b10d5bf4edb0109c39c9a549504eed Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Tue, 22 Aug 2023 18:26:26 +0300 Subject: [PATCH] wrong arg amount --- printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printf.c b/printf.c index 452a330..283ab49 100644 --- a/printf.c +++ b/printf.c @@ -40,7 +40,7 @@ int _printf(const char *format, ...) return (-1); buff_idx = 0; } - printed += fmt(*(format + fmt_idx + 1)); + printed += fmt(*(format + fmt_idx + 1), args); fmt_idx += 2; } else