Cleaned up the testing a bit.
[fw/pdclib] / functions / _PDCLIB / print.c
index 869377dd54b95ae49fceafe24ea895e65482e0dd..76297147450d6636b7e7a2133be700febd723425 100644 (file)
@@ -536,7 +536,7 @@ static int testprintf( char * buffer, size_t n, const char * format, ... )
     if ( *(_PDCLIB_print( format, &status )) != '\0' )
     {
         printf( "_PDCLIB_print() did not return end-of-specifier on '%s'.\n", format );
-        ++rc;
+        ++TEST_RESULTS;
     }
     va_end( status.arg );
     return status.i;