From 4a5ecefb4058e36a637357bab5b50bf2ef538587 Mon Sep 17 00:00:00 2001 From: solar Date: Mon, 8 May 2006 15:48:38 +0000 Subject: [PATCH] Bla --- functions/stdio/sprintf.c | 2 +- functions/stdio/vsprintf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/stdio/sprintf.c b/functions/stdio/sprintf.c index 6f7ad75..a4b28e1 100644 --- a/functions/stdio/sprintf.c +++ b/functions/stdio/sprintf.c @@ -17,7 +17,7 @@ int sprintf( char * _PDCLIB_restrict s, const char * _PDCLIB_restrict format, .. int rc; va_list ap; va_start( ap, format ); - rc = vsnprintf( s, SIZE_MAX, format, ap ); + rc = vsnprintf( s, SIZE_MAX, format, ap ); /* TODO: replace with non-checking call */ va_end( ap ); return rc; } diff --git a/functions/stdio/vsprintf.c b/functions/stdio/vsprintf.c index c93f5cd..5276e39 100644 --- a/functions/stdio/vsprintf.c +++ b/functions/stdio/vsprintf.c @@ -16,7 +16,7 @@ int foo = SIZE_MAX; int vsprintf( char * str, const char * format, va_list arg ) { - return vsnprintf( str, SIZE_MAX, format, arg ); + return vsnprintf( str, SIZE_MAX, format, arg ); /* TODO: Replace with a non-checking call */ } #endif -- 2.40.0