patch-2.0.1 linux/fs/ioctl.c
Next file: linux/fs/locks.c
Previous file: linux/fs/ext2/namei.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Jul 2 19:08:42 1996
- Orig file:
v2.0.0/linux/fs/ioctl.c
- Orig date:
Sun Mar 10 09:28:56 1996
diff -u --recursive --new-file v2.0.0/linux/fs/ioctl.c linux/fs/ioctl.c
@@ -51,7 +51,7 @@
}
if (filp->f_op && filp->f_op->ioctl)
return filp->f_op->ioctl(filp->f_inode, filp, cmd, arg);
- return -EINVAL;
+ return -ENOTTY;
}
@@ -103,6 +103,6 @@
if (filp->f_op && filp->f_op->ioctl)
return filp->f_op->ioctl(filp->f_inode, filp, cmd, arg);
- return -EINVAL;
+ return -ENOTTY;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov