]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Fix error in printf() invocation
authorUri Blumenthal <uri@ll.mit.edu>
Mon, 26 Jun 2017 16:35:27 +0000 (12:35 -0400)
committerUri Blumenthal <uri@ll.mit.edu>
Mon, 26 Jun 2017 16:35:27 +0000 (12:35 -0400)
gost12sum.c
gostsum12.c

index 0fdaf4f58bd8b1b1a717e8400e52228eca616bbd..d6a50ed2676bcd5198d8e6b8c78a532fd822f4e3 100644 (file)
@@ -260,7 +260,7 @@ int get_line(FILE *f, char *hash, char *filename, int verbose)
         return 1;
  nextline:
         if (verbose)
-            printf(filename);
+           printf("%s\n", filename);
     }
     return 0;
 }
index 9eab4762f77318ff48b300820fc0df79d3941872..580a8fcaa13736d9e8e739c0a2edb56ab5c16682 100644 (file)
@@ -251,7 +251,7 @@ int get_line(FILE *f, char *hash, char *filename, int verbose)
         return 1;
  nextline:
         if (verbose)
-            printf(filename);
+           printf("%s\n", filename);
     }
     return 0;
 }