summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
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 baa1b38cb..7c0579c63 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -1589,7 +1589,7 @@ static char *get_logname(struct options *op, struct termios *tp, struct chardata
/* The terminal could be open with O_NONBLOCK when
* -L (force CLOCAL) is specified... */
if (errno == EINTR || errno == EAGAIN) {
- usleep(250000);
+ xusleep(250000);
continue;
}
switch (errno) {