summaryrefslogtreecommitdiffstats
path: root/libc/stdio/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/printf.c')
-rw-r--r--libc/stdio/printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/printf.c b/libc/stdio/printf.c
index 4acc19b..614b435 100644
--- a/libc/stdio/printf.c
+++ b/libc/stdio/printf.c
@@ -38,10 +38,10 @@ int
printf(const char *fmt, ...)
{
int ret;
- va_list ap;
+ va_list ap;
va_start(ap, fmt);
ret = vfprintf(stdout, fmt, ap);
- va_end(ap);
+ va_end(ap);
return (ret);
}