gentoo/app-crypt/shash/files/shash-0.2.6-format-security.patch
David Seifert a457ca6636
app-crypt/shash: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/871258
Closes: https://bugs.gentoo.org/874942
Signed-off-by: David Seifert <soap@gentoo.org>
2022-10-31 18:54:15 +01:00

29 lines
393 B
Diff

--- a/src/errors.c
+++ b/src/errors.c
@@ -4,7 +4,7 @@
void err_quit(char *errmsg)
{
- fprintf(stderr, errmsg);
+ fputs(errmsg, stderr);
exit(-1);
}
@@ -12,7 +12,7 @@
{
if (quiet < 1) {
- fprintf(stderr, errmsg);
+ fputs(errmsg, stderr);
}
}
@@ -20,6 +20,6 @@
void err_crit(char *errmsg)
{
if (quiet <= 2) {
- fprintf(stderr, errmsg);
+ fputs(errmsg, stderr);
}
}