packages/utils/cmdpad/patches/140-compile_fix.patch
nbd 55b3bcf5a6 cmdpad: fix a compile error
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 07:08:00 +00:00

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