Merge branch 'master' of git://localhost/acess2
[tpg/acess2.git] / KernelLand / Kernel / libc.c
index bd34973..c6ada1e 100644 (file)
@@ -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)

UCC git Repository :: git.ucc.asn.au