summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-05-03 12:29:40 -0500
committerSlávek Banko <[email protected]>2012-06-28 02:54:20 +0200
commit62817bd5006d275d947f870ead8487c0cd4c5a5a (patch)
tree10f545b3699a8d8b11301d6396a0cfe41a0286e6
parent70be32fe119cb07779bffd8be5a1566b4cbc09d6 (diff)
downloaddigikam-62817bd5006d275d947f870ead8487c0cd4c5a5a.tar.gz
digikam-62817bd5006d275d947f870ead8487c0cd4c5a5a.zip
Fix 'format not a string literal' error
(cherry picked from commit 029218cd9cd3192a2a61ac29d896a2c3640f2dd8)
-rw-r--r--digikam/libs/sqlite2/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/digikam/libs/sqlite2/shell.c b/digikam/libs/sqlite2/shell.c
index 1100f386..89898ab4 100644
--- a/digikam/libs/sqlite2/shell.c
+++ b/digikam/libs/sqlite2/shell.c
@@ -692,7 +692,7 @@ static int do_meta_command(char *zLine, struct callback_data *p){
}else
if( c=='h' && strncmp(azArg[0], "help", n)==0 ){
- fprintf(stderr,zHelp);
+ fprintf(stderr, "%s", zHelp);
}else
if( c=='i' && strncmp(azArg[0], "indices", n)==0 && nArg>1 ){