summaryrefslogtreecommitdiffstats
path: root/login-utils/newgrp.c
diff options
context:
space:
mode:
authorBenno Schulenberg2014-09-22 22:15:33 +0200
committerKarel Zak2014-10-01 09:37:04 +0200
commitee7ea5c85e5519be18c8e482b95ebbfd44263f9c (patch)
tree39fe0e8677abfbc3589d3626879919f2413afe02 /login-utils/newgrp.c
parenttextual: "ambivalent" applies to intentions, "ambiguous" to results (diff)
downloadkernel-qcow2-util-linux-ee7ea5c85e5519be18c8e482b95ebbfd44263f9c.tar.gz
kernel-qcow2-util-linux-ee7ea5c85e5519be18c8e482b95ebbfd44263f9c.tar.xz
kernel-qcow2-util-linux-ee7ea5c85e5519be18c8e482b95ebbfd44263f9c.zip
textual: use a somewhat clearer and more standard failure message
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'login-utils/newgrp.c')
-rw-r--r--login-utils/newgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/newgrp.c b/login-utils/newgrp.c
index 9c0f8f581..23904fe6d 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;