1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-28 11:55:47 +02:00
openwrt-packages/utils/cmdpad/patches/140-compile_fix.patch
Ted Hess 9df311619c Import cmdpad from oldpackages, add copyright, pkg info
Signed-off-by: Ted Hess <thess@kitschensync.net>
2014-07-18 16:36:16 -04: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]) ;