patch-2.4.5 linux/drivers/block/swim3.c

Next file: linux/drivers/block/swim_iop.c
Previous file: linux/drivers/block/smart1,2.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/drivers/block/swim3.c linux/drivers/block/swim3.c
@@ -851,7 +851,7 @@
 				   sizeof(struct floppy_struct));
 		return err;
 	}
-	return -ENOIOCTLCMD;
+	return -ENOTTY;
 }
 
 static int floppy_open(struct inode *inode, struct file *filp)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)