summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/nshd-tester.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nshd-tester.c b/bin/nshd-tester.c
index 6e52166..80bf3ba 100644
--- a/bin/nshd-tester.c
+++ b/bin/nshd-tester.c
@@ -67,7 +67,7 @@ sigchld_handler(int sig __attribute__((__unused__))) {
int status;
pid = waitpid(pid, &status, WNOHANG);
int exited = WEXITSTATUS(status);
- error(exited, 0, "%ld exited with status %d", (long)pid, exited);
+ error(exited, 0, _("%ld exited with status %d"), (long)pid, exited);
exit(0);
}
@@ -96,7 +96,7 @@ int new_unix_sock(const char *filename, int type) {
case SOCK_DGRAM:
break;
default:
- error(EXIT_FAILURE, errno, "new_unix_sock: Unrecognized type: %d", type);
+ error(EXIT_FAILURE, errno, _("new_unix_sock: Unrecognized type: %d"), type);
}
return sock;
}