cmdpad: fix a compile error
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18068 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
14c0d43087
commit
55b3bcf5a6
11
utils/cmdpad/patches/140-compile_fix.patch
Normal file
11
utils/cmdpad/patches/140-compile_fix.patch
Normal file
@ -0,0 +1,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]) ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user