fix behavior of printf with alt-form octal, zero precision, zero value
[oweals/musl.git] / src / stdio / vprintf.c
index 67b38dacb882a1fdab15cd75edc9920bc6acd026..30d2bffa8821879fc28abac6cc3806b5788366ee 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdio.h>
 
-int vprintf(const char *fmt, va_list ap)
+int vprintf(const char *restrict fmt, va_list ap)
 {
        return vfprintf(stdout, fmt, ap);
 }