summaryrefslogtreecommitdiff
path: root/miscutils/rfkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/rfkill.c')
-rw-r--r--miscutils/rfkill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/rfkill.c b/miscutils/rfkill.c
index 0f5817b..7d8ad1c 100644
--- a/miscutils/rfkill.c
+++ b/miscutils/rfkill.c
@@ -53,7 +53,7 @@ int rfkill_main(int argc UNUSED_PARAM, char **argv)
rf_name = "uwb";
rf_type = index_in_strings(rfkill_types, rf_name);
if (rf_type < 0) {
- rf_idx = xatoi_u(rf_name);
+ rf_idx = xatoi_positive(rf_name);
}
}