From ee7ea5c85e5519be18c8e482b95ebbfd44263f9c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 22 Sep 2014 22:15:33 +0200 Subject: [PATCH] textual: use a somewhat clearer and more standard failure message Signed-off-by: Benno Schulenberg --- login-utils/newgrp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login-utils/newgrp.c b/login-utils/newgrp.c index 9c0f8f5810..23904fe6db 100644 --- a/login-utils/newgrp.c +++ b/login-utils/newgrp.c @@ -63,7 +63,7 @@ static char *xgetpass(FILE *input, const char *prompt) if (tcsetattr(fd, TCSANOW, &saved)) err(EXIT_FAILURE, _("could not set terminal attributes")); if (len < 0) - err(EXIT_FAILURE, _("could not getline")); + err(EXIT_FAILURE, _("getline() failed")); if (0 < len && *(pass + len - 1) == '\n') *(pass + len - 1) = '\0'; return pass; -- 2.47.3