summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorKarel Zak2011-05-18 14:19:39 +0200
committerKarel Zak2011-05-18 14:19:39 +0200
commit4a9b7543ae1e8fb7163e9b7f71c136fadae36295 (patch)
tree0518bf81f03b2bfbdfa1ef9db6225957512247d8 /term-utils/agetty.c
parentlsblk: use sysfs_read_u64() rather than sysfs_strdup() + atol() (diff)
downloadkernel-qcow2-util-linux-4a9b7543ae1e8fb7163e9b7f71c136fadae36295.tar.gz
kernel-qcow2-util-linux-4a9b7543ae1e8fb7163e9b7f71c136fadae36295.tar.xz
kernel-qcow2-util-linux-4a9b7543ae1e8fb7163e9b7f71c136fadae36295.zip
agetty: try next speed after CBREAK
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index 1b6bfd645..45624f54d 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -1336,7 +1336,7 @@ static char *get_logname(struct options *op, struct termios *tp, struct chardata
case 0:
*bp = 0;
if (op->numspeed > 1)
- return logname;
+ return NULL;
break;
case CR:
case NL: