diff options
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r-- | mdk-stage1/tools.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c index 768b1f2f7..aca40c971 100644 --- a/mdk-stage1/tools.c +++ b/mdk-stage1/tools.c @@ -294,8 +294,8 @@ int get_disks(char *** names, char *** models) char ** ptr; int count = 0; - my_modprobe("ide_disk", ANY_DRIVER_TYPE, NULL, 0); - my_modprobe("sd_mod", ANY_DRIVER_TYPE, NULL, 0); + my_modprobe("ide_disk", ANY_DRIVER_TYPE, NULL); + my_modprobe("sd_mod", ANY_DRIVER_TYPE, NULL); get_medias(DISK, names, models, BUS_ANY); @@ -315,8 +315,8 @@ int get_cdroms(char *** names, char *** models) char ** ptr; int count = 0; - my_modprobe("ide_cd_mod", ANY_DRIVER_TYPE, NULL, 0); - my_modprobe("sr_mod", ANY_DRIVER_TYPE, NULL, 0); + my_modprobe("ide_cd_mod", ANY_DRIVER_TYPE, NULL); + my_modprobe("sr_mod", ANY_DRIVER_TYPE, NULL); get_medias(CDROM, names, models, BUS_ANY); @@ -334,7 +334,7 @@ char * floppy_device(void) { char ** names, ** models; int fd; - my_modprobe("floppy", ANY_DRIVER_TYPE, NULL, 0); + my_modprobe("floppy", ANY_DRIVER_TYPE, NULL); fd = open("/dev/fd0", O_RDONLY|O_NONBLOCK); if (fd != -1) { char drivtyp[17]; @@ -354,7 +354,7 @@ char * floppy_device(void) close(fd); } log_message("seems that you don't have a regular floppy drive"); - my_modprobe("sd_mod", ANY_DRIVER_TYPE, NULL, 0); + my_modprobe("sd_mod", ANY_DRIVER_TYPE, NULL); get_medias(FLOPPY, &names, &models, BUS_ANY); if (names && *names) return asprintf_("/dev/%s", *names); |