aboutsummaryrefslogtreecommitdiff
path: root/networking/slattach.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/slattach.c')
-rw-r--r--networking/slattach.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/slattach.c b/networking/slattach.c
index 6d2a252fc..2f5cd15ab 100644
--- a/networking/slattach.c
+++ b/networking/slattach.c
@@ -13,7 +13,7 @@
13 * - The -F options allows disabling of RTS/CTS flow control. 13 * - The -F options allows disabling of RTS/CTS flow control.
14 */ 14 */
15//config:config SLATTACH 15//config:config SLATTACH
16//config: bool "slattach (6.2 kb)" 16//config: bool "slattach (6.3 kb)"
17//config: default y 17//config: default y
18//config: help 18//config: help
19//config: slattach configures serial line as SLIP network interface. 19//config: slattach configures serial line as SLIP network interface.
@@ -80,7 +80,7 @@ static void restore_state_and_exit(int exitcode)
80 80
81 /* Restore line status */ 81 /* Restore line status */
82 if (tcsetattr_serial_or_warn(&G.saved_state)) 82 if (tcsetattr_serial_or_warn(&G.saved_state))
83 exit(EXIT_FAILURE); 83 exit_FAILURE();
84 84
85 if (ENABLE_FEATURE_CLEAN_UP) 85 if (ENABLE_FEATURE_CLEAN_UP)
86 close(serial_fd); 86 close(serial_fd);