You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/shash/files/shash-0.2.6-format-security...

29 lines
393 B

--- 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);
}
}