From 4c5242df299642f0a4ab4f9f60fd1d074d281e00 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 19 Oct 2009 07:08:00 +0000 Subject: [PATCH] cmdpad: fix a compile error SVN-Revision: 18068 --- 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 0000000000..c7a9bb3dec --- /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.30.2