diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-12-11 09:30:59 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-12-11 09:42:17 +0100 |
commit | b7a1f9efadd928cda0f56123a1b6245b30b076fc (patch) | |
tree | 9df76e7d9da5cfc9f554cd54bdf7654b0e04299c /testsuites/psxtests/psxhdrs/stdio/vsnprintf.c | |
parent | Remove white space at end of line (diff) | |
download | rtems-b7a1f9efadd928cda0f56123a1b6245b30b076fc.tar.bz2 |
psxhdrs: Fix compile errors
Diffstat (limited to 'testsuites/psxtests/psxhdrs/stdio/vsnprintf.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/stdio/vsnprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/stdio/vsnprintf.c b/testsuites/psxtests/psxhdrs/stdio/vsnprintf.c index 5273c42d0f..820ed62948 100644 --- a/testsuites/psxtests/psxhdrs/stdio/vsnprintf.c +++ b/testsuites/psxtests/psxhdrs/stdio/vsnprintf.c @@ -30,11 +30,11 @@ int test( void ); int test( void ) { - char *fmt1 = " %d %99s "; + va_list ap; char string[128]; int result; - result = vsnprintf( string, sizeof(string), fmt1, NULL ); + result = vsnprintf( string, sizeof(string), " %d %99s ", ap ); return result; } |