summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-05-11 18:59:00 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-05-11 18:59:00 +0000
commit0337948d4a7971a374d0d53341960b25cda6116a (patch)
treeb089152513db5fe31dfee772f699f26e0a02b61e /sys/kern
parent3ff0b5dbaa46fef6d538a01bff628a97ebaeac1b (diff)
One more (!foo & BAR) bogus test.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index f01ccbc10c7..e934708c18c 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_disk.c,v 1.31 2005/12/09 09:09:52 jsg Exp $ */
+/* $OpenBSD: subr_disk.c,v 1.32 2006/05/11 18:58:59 miod Exp $ */
/* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */
/*
@@ -276,7 +276,7 @@ void
disk_attach(struct disk *diskp)
{
- if (!diskp->dk_flags & DKF_CONSTRUCTED)
+ if (!ISSET(diskp->dk_flags, DKF_CONSTRUCTED))
disk_construct(diskp, diskp->dk_name);
/*