patch-2.4.6 linux/drivers/char/raw.c
Next file: linux/drivers/char/rio/rioroute.c
Previous file: linux/drivers/char/random.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jun 27 17:10:55 2001
- Orig file:
v2.4.5/linux/drivers/char/raw.c
- Orig date:
Sun May 20 11:34:05 2001
diff -u --recursive --new-file v2.4.5/linux/drivers/char/raw.c linux/drivers/char/raw.c
@@ -194,7 +194,7 @@
break;
minor = rq.raw_minor;
- if (minor == 0 || minor > MINORMASK) {
+ if (minor <= 0 || minor > MINORMASK) {
err = -EINVAL;
break;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)