patch-2.2.14 linux/drivers/sbus/char/openprom.c
Next file: linux/drivers/sbus/char/pcikbd.c
Previous file: linux/drivers/sbus/audio/dbri.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jan 4 10:12:19 2000
- Orig file:
v2.2.13/linux/drivers/sbus/char/openprom.c
- Orig date:
Tue Jan 4 11:10:37 2000
diff -u --recursive --new-file v2.2.13/linux/drivers/sbus/char/openprom.c linux/drivers/sbus/char/openprom.c
@@ -209,7 +209,7 @@
buf, len);
restore_flags(flags);
- if (error <= 0)
+ if (error < 0)
error = -EINVAL;
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)