Author: cwittich Date: Sun Sep 7 18:11:08 2014 New Revision: 64068
URL: http://svn.reactos.org/svn/reactos?rev=64068&view=rev Log: [apitests/crt] pass the correct buffer size
Modified: trunk/rostests/apitests/crt/_vsnprintf.c
Modified: trunk/rostests/apitests/crt/_vsnprintf.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/crt/_vsnprintf.c?... ============================================================================== --- trunk/rostests/apitests/crt/_vsnprintf.c [iso-8859-1] (original) +++ trunk/rostests/apitests/crt/_vsnprintf.c [iso-8859-1] Sun Sep 7 18:11:08 2014 @@ -19,7 +19,7 @@ int ret; /* Test the basic functionality */ va_start(args, formatString); - ret = _vsnprintf(buf, 255, formatString, args); + ret = _vsnprintf(buf, buf_size, formatString, args); ok(expected_ret == ret, "Test failed: expected %i, got %i.\n", expected_ret, ret); }