From: Uri Blumenthal Date: Mon, 26 Jun 2017 16:35:27 +0000 (-0400) Subject: Fix error in printf() invocation X-Git-Tag: v1.1.0.2~9^2~3 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=1d298302d4f35ed44ab8859e98b506d948b1a0da;p=openssl-gost%2Fengine.git Fix error in printf() invocation --- diff --git a/gost12sum.c b/gost12sum.c index 0fdaf4f..d6a50ed 100644 --- a/gost12sum.c +++ b/gost12sum.c @@ -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; } diff --git a/gostsum12.c b/gostsum12.c index 9eab476..580a8fc 100644 --- a/gostsum12.c +++ b/gostsum12.c @@ -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; }