diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/stdio/vsprintf.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/stdio/vsprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/stdio/vsprintf.c b/testsuites/psxtests/psxhdrs/stdio/vsprintf.c index 632aa11775..c7bb72efa5 100644 --- a/testsuites/psxtests/psxhdrs/stdio/vsprintf.c +++ b/testsuites/psxtests/psxhdrs/stdio/vsprintf.c @@ -30,11 +30,11 @@ int test( void ); int test( void ) { - char *fmt1 = " %d %99s "; + va_list ap; char string[128]; int result; - result = vsprintf( string, fmt1, NULL ); + result = vsprintf( string, " %d %99s ", ap ); return result; } |