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