From ea9d1d431975689850697591ff6f470038764e29 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 14 Jul 2012 17:48:38 +0800 Subject: [PATCH] Kernel/libc - Fixed vsnprintf to be more standard --- KernelLand/Kernel/libc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KernelLand/Kernel/libc.c b/KernelLand/Kernel/libc.c index bd349735..c6ada1e9 100644 --- a/KernelLand/Kernel/libc.c +++ b/KernelLand/Kernel/libc.c @@ -210,8 +210,8 @@ int vsnprintf(char *__s, size_t __maxlen, const char *__format, va_list args) if(pos < __maxlen) { if(__s) __s[pos] = ch; - pos ++; } + pos ++; } while((c = *__format++) != 0) -- 2.20.1