From a910abcd194830d2d113b3e183eb7df4d36cd92e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Goddard=20Rosa?= Date: Sat, 30 Jan 2010 22:46:25 -0200 Subject: improve readability of stdio: fix indentation and remove trailing spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036 Signed-off-by: André Goddard Rosa --- libc/stdio/sprintf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/stdio/sprintf.c') diff --git a/libc/stdio/sprintf.c b/libc/stdio/sprintf.c index 739cde7..67f924b 100644 --- a/libc/stdio/sprintf.c +++ b/libc/stdio/sprintf.c @@ -46,7 +46,7 @@ int sprintf(char *str, const char *fmt, ...) { int ret; - va_list ap; + va_list ap; FILE f; struct __sfileext fext; @@ -57,7 +57,7 @@ sprintf(char *str, const char *fmt, ...) f._bf._size = f._w = INT_MAX; va_start(ap, fmt); ret = vfprintf(&f, fmt, ap); - va_end(ap); + va_end(ap); *f._p = '\0'; return (ret); } -- cgit v1.1