summaryrefslogtreecommitdiff
path: root/networking/slattach.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/slattach.c')
-rw-r--r--networking/slattach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/slattach.c b/networking/slattach.c
index 51fbc1f..6d2a252 100644
--- a/networking/slattach.c
+++ b/networking/slattach.c
@@ -76,7 +76,7 @@ static void restore_state_and_exit(int exitcode)
cfsetispeed(&state, B0);
cfsetospeed(&state, B0);
exitcode |= tcsetattr_serial_or_warn(&state);
- sleep(1);
+ sleep1();
/* Restore line status */
if (tcsetattr_serial_or_warn(&G.saved_state))