cannot -> "unable to" in warning/error messages

This commit is contained in:
Todd C. Miller
2011-05-18 12:41:06 -04:00
parent 6f8cd91928
commit fce0b906eb
12 changed files with 21 additions and 21 deletions

View File

@@ -244,14 +244,14 @@ sudo_execve(struct command_details *details, struct command_status *cstat)
* Parent sends signal info to child and child sends back wait status.
*/
if (socketpair(PF_UNIX, SOCK_DGRAM, 0, sv) == -1)
error(1, _("cannot create sockets"));
error(1, _("unable to create sockets"));
/*
* We use a pipe to atomically handle signal notification within
* the select() loop.
*/
if (pipe_nonblock(signal_pipe) != 0)
error(1, _("cannot create pipe"));
error(1, _("unable to create pipe"));
zero_bytes(&sa, sizeof(sa));
sigemptyset(&sa.sa_mask);