diff options
Diffstat (limited to 'loginutils/getty.c')
-rw-r--r-- | loginutils/getty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index a85e523..5ceaefc 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -239,7 +239,7 @@ static void open_tty(char *tty, struct termios *tp, int local) /* Set up new standard input, unless we are given an already opened port. */ - if (strcmp(tty, "-")) { + if (NOT_LONE_DASH(tty)) { struct stat st; int fd; |