summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/stdio/vsscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/stdio/vsscanf.c')
-rw-r--r--testsuites/psxtests/psxhdrs/stdio/vsscanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/stdio/vsscanf.c b/testsuites/psxtests/psxhdrs/stdio/vsscanf.c
index ebe89ce1c0..324640389a 100644
--- a/testsuites/psxtests/psxhdrs/stdio/vsscanf.c
+++ b/testsuites/psxtests/psxhdrs/stdio/vsscanf.c
@@ -31,10 +31,10 @@ int test( void );
int test( void )
{
char *tokenstring = "15 12 14";
- char *fmt1 = " %d %99s ";
+ va_list ap;
int result;
- result = vsscanf( tokenstring, fmt1, NULL );
+ result = vsscanf( tokenstring, " %d %99s ", ap );
return result;
}