X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=init%2Fdo_mounts_md.c;h=32c4799b8c91bb483f418cd6a39e1e11eda0cd7a;hp=69aebbf8fd2dbf4ebeb301cf1fa590d3c864b9c9;hb=33703833b1402090b526a16b3acd0b5dc597a922;hpb=9efe21cb82b5dbe3b0b2ae4de4eccc64ecb94e95 diff --git a/init/do_mounts_md.c b/init/do_mounts_md.c index 69aebbf8fd2d..32c4799b8c91 100644 --- a/init/do_mounts_md.c +++ b/init/do_mounts_md.c @@ -283,7 +283,7 @@ static void __init autodetect_raid(void) wait_for_device_probe(); - fd = sys_open("/dev/md0", 0, 0); + fd = sys_open((const char __user __force *) "/dev/md0", 0, 0); if (fd >= 0) { sys_ioctl(fd, RAID_AUTORUN, raid_autopart); sys_close(fd);