From b7a1f9efadd928cda0f56123a1b6245b30b076fc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 11 Dec 2018 09:30:59 +0100 Subject: psxhdrs: Fix compile errors --- testsuites/psxtests/psxhdrs/stdio/vsscanf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxhdrs/stdio/vsscanf.c') 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; } -- cgit v1.2.3