summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-10-18 10:11:48 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-10-18 10:11:48 +0000
commit5b612ec34cd7daf2f587fc621b2975767cbb3231 (patch)
tree03fedea839be174d9b9823466afceaa53e2f2605 /sys
parent21bbb16f8473257f1754fece2f601e2484e647eb (diff)
Fix typo introduced when adding __OpenBSD__ checks
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/pdqreg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/pdqreg.h b/sys/dev/ic/pdqreg.h
index ced981cbb04..c681fc57a70 100644
--- a/sys/dev/ic/pdqreg.h
+++ b/sys/dev/ic/pdqreg.h
@@ -35,7 +35,7 @@
#ifndef _PDQREG_H
#define _PDQREG_H
-#if !defined(__NetBSD__) || defined(__OpenBSD__)
+#if !defined(__NetBSD__) && !defined(__OpenBSD__)
#include <stddef.h>
#if defined(PDQTEST) && !defined(PDQ_NDEBUG)
#include <assert.h>
@@ -43,9 +43,9 @@
#else
#define PDQ_ASSERT(x) do { } while(0)
#endif
-#else /* __NetBSD__ */
+#else /* __NetBSD__ || __OpenBSD__*/
/*
- * Including user-land headers in kernel code is not allowed in NetBSD
+ * Including user-land headers in kernel code is not allowed in Net- or OpenBSD
*/
#define offsetof(type, member) ((size_t)(&((type *)0)->member))