diff options
Diffstat (limited to 'stdio/vsnprintf.c')
-rw-r--r-- | stdio/vsnprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio/vsnprintf.c b/stdio/vsnprintf.c index ddb1dfc9c0..278711ab66 100644 --- a/stdio/vsnprintf.c +++ b/stdio/vsnprintf.c @@ -36,7 +36,7 @@ __vsnprintf (char *s, size_t maxlen, const char *format, va_list arg) if (maxlen == 0) return 0; - memset((void *) &f, 0, sizeof(f)); + memset ((void *) &f, 0, sizeof (f)); f.__magic = _IOMAGIC; f.__mode.__write = 1; /* The buffer size is one less than MAXLEN @@ -51,7 +51,7 @@ __vsnprintf (char *s, size_t maxlen, const char *format, va_list arg) f.__io_funcs.__write = NULL; f.__seen = 1; - done = vfprintf(&f, format, arg); + done = vfprintf (&f, format, arg); *f.__bufp = '\0'; return done; |