mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 06:06:58 +02:00
31 lines
1,002 B
Diff
31 lines
1,002 B
Diff
diff --git a/src/shar.c b/src/shar.c
|
|
index 11cbada..2c3251d 100644
|
|
--- a/src/shar.c
|
|
+++ b/src/shar.c
|
|
@@ -931,7 +931,7 @@ print_header_stamp (FILE * fp)
|
|
free (c_dir);
|
|
}
|
|
else
|
|
- error (0, errno, _("Cannot get current directory name"));
|
|
+ error (0, errno, "%s", _("Cannot get current directory name"));
|
|
}
|
|
}
|
|
|
|
@@ -2154,7 +2154,7 @@ configure_shar (int * argc_p, char *** argv_p)
|
|
*/
|
|
FILE * fp = freopen ("/dev/null", "w" FOPEN_BINARY, stderr);
|
|
if (fp != stderr)
|
|
- error (SHAR_EXIT_FAILED, errno,
|
|
+ error (SHAR_EXIT_FAILED, errno, "%s",
|
|
_("reopening stderr to /dev/null"));
|
|
}
|
|
|
|
@@ -2225,7 +2225,7 @@ configure_shar (int * argc_p, char *** argv_p)
|
|
if (HAVE_OPT(QUERY_USER))
|
|
{
|
|
if (HAVE_OPT(NET_HEADERS))
|
|
- error (0, 0, _("PLEASE avoid -X shars on Usenet or public networks"));
|
|
+ error (0, 0, "%s", _("PLEASE avoid -X shars on Usenet or public networks"));
|
|
|
|
fputs ("shar_wish=\n", output);
|
|
}
|