diff options
Diffstat (limited to 'networking/slattach.c')
-rw-r--r-- | networking/slattach.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/slattach.c b/networking/slattach.c index c6feca248..659822a91 100644 --- a/networking/slattach.c +++ b/networking/slattach.c @@ -56,7 +56,7 @@ static int tcsetattr_serial_or_warn(struct termios *state) ret = tcsetattr(serial_fd, TCSANOW, state); if (ret != 0) { - bb_perror_msg("tcsetattr"); + bb_simple_perror_msg("tcsetattr"); return 1; /* used as exitcode */ } return ret; /* 0 */ @@ -159,7 +159,7 @@ int slattach_main(int argc UNUSED_PARAM, char **argv) /* Save current tty state */ if (tcgetattr(serial_fd, &G.saved_state) != 0) - bb_perror_msg_and_die("tcgetattr"); + bb_simple_perror_msg_and_die("tcgetattr"); /* Save line discipline */ xioctl(serial_fd, TIOCGETD, &G.saved_disc); |