| 1 | |
| 2 | |
| 3 | @@ -231,7 +231,7 @@ create_temp_dir (const char *prefix, const char *parentdir,
|
| 4 | xtemplate = (char *) xmalloca (PATH_MAX);
|
| 5 | if (path_search (xtemplate, PATH_MAX, parentdir, prefix, parentdir == NULL))
|
| 6 | {
|
| 7 | - error (0, errno,
|
| 8 | + error (0, errno, "%s",
|
| 9 | _("cannot find a temporary directory, try setting $TMPDIR"));
|
| 10 | goto quit;
|
| 11 | }
|
| 12 | |
| 13 | |
| 14 | @@ -215,10 +215,10 @@ create_pipe (const char *progname,
|
| 15 | process is running. */
|
| 16 | if (pipe_stdout)
|
| 17 | if (pipe2_safer (ifd, O_BINARY | O_CLOEXEC) < 0)
|
| 18 | - error (EXIT_FAILURE, errno, _("cannot create pipe"));
|
| 19 | + error (EXIT_FAILURE, errno, "%s", _("cannot create pipe"));
|
| 20 | if (pipe_stdin)
|
| 21 | if (pipe2_safer (ofd, O_BINARY | O_CLOEXEC) < 0)
|
| 22 | - error (EXIT_FAILURE, errno, _("cannot create pipe"));
|
| 23 | + error (EXIT_FAILURE, errno, "%s", _("cannot create pipe"));
|
| 24 | /* Data flow diagram:
|
| 25 | *
|
| 26 | * write system read
|