]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
textual: use a somewhat clearer and more standard failure message
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 22 Sep 2014 20:15:33 +0000 (22:15 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 1 Oct 2014 07:37:04 +0000 (09:37 +0200)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
login-utils/newgrp.c

index 9c0f8f5810069085dd241a9d9945d38b80583ab1..23904fe6db3c72b50499f5cb5321df42133f86b6 100644 (file)
@@ -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;