From d76c8f91dddc6a0827a281e1501ef515f49ebfcd Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 10 Feb 2004 17:05:57 +0000 Subject: use floppy_device rather than /dev/fd0 because we now support usb floppies as well --- mdk-stage1/stage1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1/stage1.c') diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 2e1cb0972..c5452ce90 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -232,7 +232,7 @@ static void expert_third_party_modules(void) my_insmod("floppy", ANY_DRIVER_TYPE, NULL, 0); - if (my_mount("/dev/fd0", floppy_mount_location, "ext2", 0) == -1) { + if (my_mount(floppy_device(), floppy_mount_location, "ext2", 0) == -1) { stg1_error_message("I can't find a Linux ext2 floppy in first floppy drive."); return expert_third_party_modules(); } -- cgit v1.2.1