svn commit: r192054 - head/sys/dev/usb
Andrew Thompson
thompsa at FreeBSD.org
Wed May 13 18:05:41 UTC 2009
Author: thompsa
Date: Wed May 13 18:05:40 2009
New Revision: 192054
URL: http://svn.freebsd.org/changeset/base/192054
Log:
Check the correct variable for IO_NDELAY.
Submitted by: Hans Petter Selasky
Modified:
head/sys/dev/usb/usb_dev.c
Modified: head/sys/dev/usb/usb_dev.c
==============================================================================
--- head/sys/dev/usb/usb_dev.c Wed May 13 18:04:51 2009 (r192053)
+++ head/sys/dev/usb/usb_dev.c Wed May 13 18:05:40 2009 (r192054)
@@ -1203,7 +1203,7 @@ usb2_read(struct cdev *dev, struct uio *
(f->methods->f_start_read) (f);
- if (fflags & IO_NDELAY) {
+ if (ioflag & IO_NDELAY) {
if (tr_data) {
/* return length before error */
break;
@@ -1326,7 +1326,7 @@ usb2_write(struct cdev *dev, struct uio
if (m == NULL) {
- if (fflags & IO_NDELAY) {
+ if (ioflag & IO_NDELAY) {
if (tr_data) {
/* return length before error */
break;
More information about the svn-src-all
mailing list