summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2005-07-18 17:51:48 +0000
committermiod <miod@openbsd.org>2005-07-18 17:51:48 +0000
commit340dbfef12bb886bc530ddbc8d5df38b9812702b (patch)
tree198a09df7dda976d20634e21f7f36c9833977264
parentPB190 Gestalt IDs (diff)
downloadwireguard-openbsd-340dbfef12bb886bc530ddbc8d5df38b9812702b.tar.xz
wireguard-openbsd-340dbfef12bb886bc530ddbc8d5df38b9812702b.zip
Compensate for NCOM_PUC disappearance; ok deraadt@
-rw-r--r--sys/dev/puc/com_puc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/puc/com_puc.c b/sys/dev/puc/com_puc.c
index acea3c35fbb..35c4ee9423f 100644
--- a/sys/dev/puc/com_puc.c
+++ b/sys/dev/puc/com_puc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_puc.c,v 1.7 2004/08/19 21:47:54 miod Exp $ */
+/* $OpenBSD: com_puc.c,v 1.8 2005/07/18 17:51:48 miod Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
@@ -72,13 +72,13 @@
int com_puc_match(struct device *, void *, void *);
void com_puc_attach(struct device *, struct device *, void *);
-#if NCOM_PUC
+#if NCOM > 0
struct cfattach com_puc_ca = {
sizeof(struct com_softc), com_puc_match, com_puc_attach
};
#endif
-#if NPCCOM_PUC
+#if NPCCOM > 0
struct cfattach pccom_puc_ca = {
sizeof(struct com_softc), com_puc_match, com_puc_attach
};