diff options
Diffstat (limited to 'miscutils/rfkill.c')
-rw-r--r-- | miscutils/rfkill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/rfkill.c b/miscutils/rfkill.c index 766bad8c7..db7c83750 100644 --- a/miscutils/rfkill.c +++ b/miscutils/rfkill.c | |||
@@ -88,7 +88,7 @@ int rfkill_main(int argc UNUSED_PARAM, char **argv) | |||
88 | 88 | ||
89 | rf_fd = device_open("/dev/rfkill", mode); | 89 | rf_fd = device_open("/dev/rfkill", mode); |
90 | if (rf_fd < 0) | 90 | if (rf_fd < 0) |
91 | bb_perror_msg_and_die("/dev/rfkill"); | 91 | bb_simple_perror_msg_and_die("/dev/rfkill"); |
92 | 92 | ||
93 | if (rf_opt & OPT_l) { | 93 | if (rf_opt & OPT_l) { |
94 | while (full_read(rf_fd, &event, sizeof(event)) == RFKILL_EVENT_SIZE_V1) { | 94 | while (full_read(rf_fd, &event, sizeof(event)) == RFKILL_EVENT_SIZE_V1) { |