← Commit list

74fcbb0f7

Glenn L McGrath
Glenn L McGrath
2003-05-13
FAILED Duration: 144s

Subject

Fix \l so it doesnt print the character as well as the tty, from old patch by Nick Fedchik

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/login.c+2 -1
@@ -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 <stdio.h>
@@ -95,6 +95,7 @@ void print_login_issue(const char *issue_file, const char *tty)
case 'l':
printf("%s", tty);
+ break;
default:
putchar(c);