diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-10-19 14:13:19 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2019-10-19 14:13:19 +0000 |
commit | faaf862e0f489a3e7f8e5672fecb1fdafe4d5e54 (patch) | |
tree | daaf1a0fbf9e252528bbfd5c999313463b72877b /sys/scsi | |
parent | 2d1b9be418ee93c21abbef04ee53ec618a681daf (diff) |
Fix typo in previous, link->flag is link->flags.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 8c630f3e312..8479f41cb50 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.287 2019/10/19 14:01:31 krw Exp $ */ +/* $OpenBSD: sd.c,v 1.288 2019/10/19 14:13:18 krw Exp $ */ /* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */ /*- @@ -527,7 +527,7 @@ sdclose(dev_t dev, int flag, int fmt, struct proc *p) error = ENXIO; goto die; } - CLR(link->flag, SDEV_OPEN | SDEV_MEDIA_LOADED); + CLR(link->flags, SDEV_OPEN | SDEV_MEDIA_LOADED); if (link->flags & SDEV_EJECTING) { scsi_start(link, SSS_STOP|SSS_LOEJ, 0); |