From: Glenn L McGrath Date: Tue, 13 May 2003 13:28:25 +0000 (-0000) Subject: Fix \l so it doesnt print the character as well as the tty, from old X-Git-Tag: 1_00_pre1~93 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=74fcbb0f7d164806765d007d62ceb440d9471b37;p=oweals%2Fbusybox.git Fix \l so it doesnt print the character as well as the tty, from old patch by Nick Fedchik --- diff --git a/libbb/login.c b/libbb/login.c index 092f1594a..bd8035f41 100644 --- a/libbb/login.c +++ b/libbb/login.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: login.c,v 1.2 2003/02/09 22:40:33 bug1 Exp $ + * $Id: login.c,v 1.3 2003/05/13 13:28:25 bug1 Exp $ */ #include @@ -95,6 +95,7 @@ void print_login_issue(const char *issue_file, const char *tty) case 'l': printf("%s", tty); + break; default: putchar(c);