summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2003-05-05 10:11:17 +0000
committersos <sos@FreeBSD.org>2003-05-05 10:11:17 +0000
commit068969a74dab7c397d77a7bd6818faf82cd875dd (patch)
treee23eea3d5574289b97114885950157947f9d72b1
parentd307bc6dd361c80a9667e357dc7f9bd82b697424 (diff)
downloadFreeBSD-src-068969a74dab7c397d77a7bd6818faf82cd875dd.zip
FreeBSD-src-068969a74dab7c397d77a7bd6818faf82cd875dd.tar.gz
Add a missing ~ when clearing flags in close.
PR: 35392
-rw-r--r--sys/dev/ata/atapi-tape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c
index a58d16a..cfd0b28 100644
--- a/sys/dev/ata/atapi-tape.c
+++ b/sys/dev/ata/atapi-tape.c
@@ -280,7 +280,7 @@ astclose(dev_t dev, int flags, int fmt, struct thread *td)
if (stp->cap.lock && count_dev(dev) == 1)
ast_prevent_allow(stp, 0);
- stp->flags &= F_CTL_WARN;
+ stp->flags &= ~F_CTL_WARN;
#ifdef AST_DEBUG
ata_prtdev(stp->device, "%ju total bytes transferred\n",
(uintmax_t)ast_total);
OpenPOWER on IntegriCloud