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