diff options
author | bde <bde@FreeBSD.org> | 1997-11-23 11:56:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-11-23 11:56:18 +0000 |
commit | f885907fbd45ecd99eb3bbe61420ef3107361755 (patch) | |
tree | 58b3ecd9c268a19f52c47c4a34448238f869abf3 /sys/scsi | |
parent | 97507ffc6d0af098dbac093291472a6b8b96cb79 (diff) | |
download | FreeBSD-src-f885907fbd45ecd99eb3bbe61420ef3107361755.zip FreeBSD-src-f885907fbd45ecd99eb3bbe61420ef3107361755.tar.gz |
Fixed misuse of O_ACCMODE. Cosmetic.
Not fixed in: sound driver
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/st.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c index af96017..4bc0417 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -12,7 +12,7 @@ * on the understanding that TFS is not responsible for the correct * functioning of this software in any circumstances. * - * $Id: st.c,v 1.81 1997/09/07 10:08:23 joerg Exp $ + * $Id: st.c,v 1.82 1997/09/21 22:03:19 gibbs Exp $ */ /* @@ -424,7 +424,7 @@ struct scsi_link *sc_link) * file marks written on it when closed, even if not written to. * This is for SUN compatibility */ - if ((flags & O_ACCMODE) == FWRITE) + if (flags & FWRITE) st->flags |= ST_WRITTEN; /* PREVENT ALLOW MEDIUM REMOVAL is optional per the SCSI-2 specs */ |