aboutsummaryrefslogtreecommitdiff
path: root/utils/cmdpad/patches/140-compile_fix.patch
blob: c7a9bb3dec46e79e62c75e95acedabf8152599bb (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/parse.c
+++ b/src/parse.c
@@ -125,7 +125,7 @@ int readCommandLine( int argc, char *arg
       
 	      		d2printf( "command line command %s found\n", pchCommandTranslations[ iCmd+1]) ;
 	      
-	      		vsnprintf( achCommand, sizeof( achCommand), 
+	      		snprintf( achCommand, sizeof( achCommand), 
 			   	   pchCommandTranslations[ iCmd+1], 
 				   &argv[ i+1]) ;