improve readability of stdio: fix indentation and remove trailing spaces
Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
diff --git a/libc/stdio/snprintf.c b/libc/stdio/snprintf.c
index e830c0f..45ef7eb 100644
--- a/libc/stdio/snprintf.c
+++ b/libc/stdio/snprintf.c
@@ -40,7 +40,7 @@
int
snprintf(char *str, size_t n, const char *fmt, ...)
{
- va_list ap;
+ va_list ap;
int ret;
char dummy;
FILE f;
@@ -61,7 +61,7 @@
f._bf._size = f._w = n - 1;
va_start(ap, fmt);
ret = vfprintf(&f, fmt, ap);
- va_end(ap);
+ va_end(ap);
*f._p = '\0';
return (ret);
}