File: 03-add-fprintf-format-argument.patch

package info (click to toggle)
sqlite 2.8.17-14
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 4,716 kB
  • ctags: 3,107
  • sloc: ansic: 32,407; tcl: 10,821; sh: 7,775; yacc: 677; makefile: 385; awk: 62
file content (11 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
--- sqlite-2.8.17.orig/src/shell.c
+++ sqlite-2.8.17/src/shell.c
@@ -692,7 +692,7 @@
   }else
 
   if( c=='h' && strncmp(azArg[0], "help", n)==0 ){
-    fprintf(stderr,zHelp);
+    fprintf(stderr,"%s\n",zHelp);
   }else
 
   if( c=='i' && strncmp(azArg[0], "indices", n)==0 && nArg>1 ){