summaryrefslogtreecommitdiffstats
path: root/sys-apps/util-linux/files/agetty-ds-x509.patch
blob: 3da1a40f989093a44642ab108bd23585ad03ce27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -dPNur util-linux-2.12r/login-utils/agetty.c util-linux-2.12r-new/login-utils/agetty.c
--- util-linux-2.12r/login-utils/agetty.c	2002-07-29 07:36:42.000000000 +0000
+++ util-linux-2.12r-new/login-utils/agetty.c	2006-01-04 14:22:15.000000000 +0000
@@ -1007,7 +1007,8 @@
 
     /* Prompt for and read a login name. */
 
-    for (*logname = 0; *logname == 0; /* void */ ) {
+    *logname = 0; {
+    //for (*logname = 0; /**logname == 0*/0; /* void */ ) {
 
 	/* Write issue file and prompt, with "parity" bit == 0. */