From: Benno Schulenberg Date: Mon, 22 Sep 2014 20:15:33 +0000 (+0200) Subject: textual: use a somewhat clearer and more standard failure message X-Git-Tag: v2.26-rc1~441 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee7ea5c85e5519be18c8e482b95ebbfd44263f9c;p=thirdparty%2Futil-linux.git textual: use a somewhat clearer and more standard failure message Signed-off-by: Benno Schulenberg --- 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;