remove READ #define
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 4 May 1991 03:10:25 +0000 (19:10 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 4 May 1991 03:10:25 +0000 (19:10 -0800)
SCCS-vsn: sys/stand.att/dev.c 7.10

usr/src/sys/stand.att/dev.c

index 248dd7e..e9e49ad 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)dev.c       7.9 (Berkeley) %G%
+ *     @(#)dev.c       7.10 (Berkeley) %G%
  */
 
 #include "sys/param.h"
  */
 
 #include "sys/param.h"
@@ -23,7 +23,7 @@ devread(io)
 
        io->i_flgs |= F_RDDATA;
        io->i_error = 0;
 
        io->i_flgs |= F_RDDATA;
        io->i_error = 0;
-       cc = (*devsw[io->i_dev].dv_strategy)(io, READ);
+       cc = (*devsw[io->i_dev].dv_strategy)(io, F_READ);
        io->i_flgs &= ~F_TYPEMASK;
        return (cc);
 }
        io->i_flgs &= ~F_TYPEMASK;
        return (cc);
 }