diff options
-rw-r--r-- | libc/stdio/snprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/snprintf.c b/libc/stdio/snprintf.c index cc1cc0f..35b6f86 100644 --- a/libc/stdio/snprintf.c +++ b/libc/stdio/snprintf.c @@ -18,7 +18,7 @@ int snprintf(char *buff, size_t size, const char *format, ...) va_list ar; int count; - if ((buff==NULL) || (format==NULL)) + if (buff==NULL) return(-1); va_start(ar, format); |