Use O_NONBLOCK instead of FNONBLOCK alias.

This commit is contained in:
Poul-Henning Kamp 2004-12-13 07:37:29 +00:00
parent 57c75b8f1a
commit ab9caf9d67

@ -914,7 +914,7 @@ devfs_read_f(struct file *fp, struct uio *uio, struct ucred *cred, int flags, st
return (error);
resid = uio->uio_resid;
ioflag = 0;
if (fp->f_flag & FNONBLOCK)
if (fp->f_flag & O_NONBLOCK)
ioflag |= IO_NDELAY;
if (fp->f_flag & O_DIRECT)
ioflag |= IO_DIRECT;