summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty/kexisql3
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-03 12:36:39 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-05-03 12:36:39 -0500
commit8f9f4e5697a733eb6c8eec6d056dc80c531b4ee0 (patch)
tree9cb2d39c2e876b569c7cb634c9bbe89e694d074d /kexi/3rdparty/kexisql3
parent196107fd7892a11bd2fdf2516528ff2c704ded25 (diff)
downloadkoffice-8f9f4e5697a733eb6c8eec6d056dc80c531b4ee0.tar.gz
koffice-8f9f4e5697a733eb6c8eec6d056dc80c531b4ee0.zip
Fix 'format not a string literal' error
Diffstat (limited to 'kexi/3rdparty/kexisql3')
-rw-r--r--kexi/3rdparty/kexisql3/src/shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/3rdparty/kexisql3/src/shell.c b/kexi/3rdparty/kexisql3/src/shell.c
index a69f96be..0f5809c5 100644
--- a/kexi/3rdparty/kexisql3/src/shell.c
+++ b/kexi/3rdparty/kexisql3/src/shell.c
@@ -361,7 +361,7 @@ static void output_csv(struct callback_data *p, const char *z, int bSep){
output_c_string(p->out, z);
}
if( bSep ){
- fprintf(p->out, p->separator);
+ fprintf(p->out, "%s", p->separator);
}
}
@@ -1021,7 +1021,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], "import", n)==0 && nArg>=3 ){