diff options
author | Sami Kerola | 2012-07-15 10:39:57 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-16 18:18:22 +0200 |
commit | 289dcc90234680063a336925a99d1ef04e97cbda (patch) | |
tree | cb8656c16143daa406ea9d706406ca12d94d89d3 /login-utils/islocal.c | |
parent | translation: unify stat error messages (diff) | |
download | kernel-qcow2-util-linux-289dcc90234680063a336925a99d1ef04e97cbda.tar.gz kernel-qcow2-util-linux-289dcc90234680063a336925a99d1ef04e97cbda.tar.xz kernel-qcow2-util-linux-289dcc90234680063a336925a99d1ef04e97cbda.zip |
translation: unify file open error messages
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/islocal.c')
-rw-r--r-- | login-utils/islocal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/login-utils/islocal.c b/login-utils/islocal.c index e23ca44e0..1f8516618 100644 --- a/login-utils/islocal.c +++ b/login-utils/islocal.c @@ -84,8 +84,7 @@ int is_local(const char *user) int rv; if ((rv = is_local_in_file(user, _PATH_PASSWD)) < 0) { perror(_PATH_PASSWD); - fprintf(stderr, _("Failed to open %s for reading, exiting."), - _PATH_PASSWD); + fprintf(stderr, _("cannot open %s"), _PATH_PASSWD); exit(1); } else { return rv; |