make file flags consistent
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 31 May 1991 06:27:32 +0000 (22:27 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 31 May 1991 06:27:32 +0000 (22:27 -0800)
SCCS-vsn: sys/hp/dev/hil.c 7.8

usr/src/sys/hp/dev/hil.c

index 5666421..5f1030e 100644 (file)
@@ -11,7 +11,7 @@
  *
  * from: Utah $Hdr: hil.c 1.33 89/12/22$
  *
  *
  * from: Utah $Hdr: hil.c 1.33 89/12/22$
  *
- *     @(#)hil.c       7.7 (Berkeley) %G%
+ *     @(#)hil.c       7.8 (Berkeley) %G%
  */
 
 #include "sys/param.h"
  */
 
 #include "sys/param.h"
@@ -136,7 +136,7 @@ hilopen(dev, flags, mode, p)
                        return(EBUSY);
                dptr->hd_flags |= HIL_QUEUEIN;
        }
                        return(EBUSY);
                dptr->hd_flags |= HIL_QUEUEIN;
        }
-       if (flags & FNDELAY)
+       if (flags & FNONBLOCK)
                dptr->hd_flags |= HIL_NOBLOCK;
        /*
         * It is safe to flush the read buffer as we are guarenteed
                dptr->hd_flags |= HIL_NOBLOCK;
        /*
         * It is safe to flush the read buffer as we are guarenteed