diff options
-rw-r--r-- | term-utils/agetty.c | 2 |
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: |