diff options
Diffstat (limited to 'miscutils/raidautorun.c')
-rw-r--r-- | miscutils/raidautorun.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/miscutils/raidautorun.c b/miscutils/raidautorun.c index 2b65d39..edcb6d6 100644 --- a/miscutils/raidautorun.c +++ b/miscutils/raidautorun.c @@ -19,9 +19,7 @@ int raidautorun_main(int argc, char **argv) if (argc != 2) bb_show_usage(); - if (ioctl(xopen(argv[1], O_RDONLY), RAID_AUTORUN, NULL) != 0) { - bb_perror_msg_and_die("ioctl"); - } + xioctl(xopen(argv[1], O_RDONLY), RAID_AUTORUN, NULL); return EXIT_SUCCESS; } |