openwrt-packages/utils/cmdpad/patches/140-compile_fix.patch

12 lines
386 B
Diff

--- 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]) ;