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