From: nekral-guest Date: Sun, 3 Feb 2008 17:57:43 +0000 (+0000) Subject: Do not translate the fromhost variable. It is always used for syslog messages. X-Git-Tag: 4.1.1~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feb2e4118168167ca97338980b4a0795ef7bad15;p=thirdparty%2Fshadow.git Do not translate the fromhost variable. It is always used for syslog messages. --- diff --git a/ChangeLog b/ChangeLog index b30ddf335..7907ad78e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-03 Nicolas François + + * src/login.c: Do not translate the fromhost variable. It is + always used for syslog messages. + 2008-02-03 Nicolas François * NEWS, lib/defines.h: Switch to the C locale before sending diff --git a/src/login.c b/src/login.c index 8af1b4715..779e1dfa0 100644 --- a/src/login.c +++ b/src/login.c @@ -560,10 +560,10 @@ int main (int argc, char **argv) if (*cp) snprintf (fromhost, sizeof fromhost, - _(" on '%.100s' from '%.200s'"), tty, cp); + " on '%.100s' from '%.200s'", tty, cp); else snprintf (fromhost, sizeof fromhost, - _(" on '%.100s'"), tty); + " on '%.100s'", tty); top: /* only allow ALARM sec. for login */