improve readability of stdio: fix indentation and remove trailing spaces
Change-Id: Ic51e58a7c75d20bf770dc0ebd7f97a338fbe0036 Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
This commit is contained in:

committed by
Jean-Baptiste Queru

parent
1297428e89
commit
a910abcd19
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user