summaryrefslogtreecommitdiffstats
path: root/login-utils/islocal.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:39 +0100
committerKarel Zak2006-12-07 00:25:39 +0100
commit7eda085c41faa3445b4b168ce78ab18dab87d98a (patch)
treeeb8da4baebd0af68fa84818d3d51b4a3714667fc /login-utils/islocal.c
parentImported from util-linux-2.9i tarball. (diff)
downloadkernel-qcow2-util-linux-7eda085c41faa3445b4b168ce78ab18dab87d98a.tar.gz
kernel-qcow2-util-linux-7eda085c41faa3445b4b168ce78ab18dab87d98a.tar.xz
kernel-qcow2-util-linux-7eda085c41faa3445b4b168ce78ab18dab87d98a.zip
Imported from util-linux-2.9v tarball.
Diffstat (limited to 'login-utils/islocal.c')
-rw-r--r--login-utils/islocal.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/login-utils/islocal.c b/login-utils/islocal.c
index 5480c5744..10a709b56 100644
--- a/login-utils/islocal.c
+++ b/login-utils/islocal.c
@@ -10,11 +10,16 @@
to distinguish user names where one is a prefix of the other,
and to use "pathnames.h". Oct 5, 96.
+ 1999-02-22 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
+ - added Native Language Support
+
+
*/
#include <stdio.h>
#include <string.h>
+#include "nls.h"
#include "pathnames.h"
#define MAX_LENGTH 1024
@@ -28,7 +33,7 @@ is_local(char *user)
int len;
if(!(fd = fopen(_PATH_PASSWD, "r"))) {
- fprintf(stderr,"Can't read %s, exiting.",_PATH_PASSWD);
+ fprintf(stderr,_("Can't read %s, exiting."),_PATH_PASSWD);
exit(1);
}