aboutsummaryrefslogtreecommitdiff
path: root/login/programs/request.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/programs/request.c')
-rw-r--r--login/programs/request.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/login/programs/request.c b/login/programs/request.c
index 5e6bfa19cf..889ce0cba9 100644
--- a/login/programs/request.c
+++ b/login/programs/request.c
@@ -88,7 +88,7 @@ read_data (client_connection *connection)
}
if (nbytes < 0)
- error (0, errno, "cannot read from client");
+ error (0, errno, _("cannot read from client"));
return -1;
}
@@ -117,7 +117,7 @@ write_data (client_connection *connection)
}
if (nbytes < 0)
- error (0, errno, "cannot write to client");
+ error (0, errno, _("cannot write to client"));
return -1;
}
@@ -164,7 +164,7 @@ send_reply (client_connection *connection, const reply_header *reply)
/* Check if the reply fits in the buffer. */
if ((size_t) (connection->write_end - connection->write_ptr) < reply->size)
{
- error (0, 0, "buffer overflow");
+ error (0, 0, _("buffer overflow"));
return -1;
}