From 55b3bcf5a655cdca254bb09a2a371c71f5d28d6a Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 19 Oct 2009 07:08:00 +0000 Subject: [PATCH] cmdpad: fix a compile error git-svn-id: svn://svn.openwrt.org/openwrt/packages@18068 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/cmdpad/patches/140-compile_fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 utils/cmdpad/patches/140-compile_fix.patch diff --git a/utils/cmdpad/patches/140-compile_fix.patch b/utils/cmdpad/patches/140-compile_fix.patch new file mode 100644 index 000000000..c7a9bb3de --- /dev/null +++ b/utils/cmdpad/patches/140-compile_fix.patch @@ -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]) ; + -- 2.11.0