summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>1999-11-02 00:15:56 +0000
committerangelos <angelos@openbsd.org>1999-11-02 00:15:56 +0000
commit96d7f693d610dfd0e15c2cecd608c6b5c45ef9fa (patch)
tree6ef38d4d151ac068893faabe635dbf8e4be80364
parenttypo (diff)
downloadwireguard-openbsd-96d7f693d610dfd0e15c2cecd608c6b5c45ef9fa.tar.xz
wireguard-openbsd-96d7f693d610dfd0e15c2cecd608c6b5c45ef9fa.zip
Fix *stupid* typo/error that was causing the panics in post 2.6, found
by art@
-rw-r--r--sys/net/if_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c
index 7218f1ac136..c6f3c95b39b 100644
--- a/sys/net/if_enc.c
+++ b/sys/net/if_enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_enc.c,v 1.12 1999/10/29 05:22:41 angelos Exp $ */
+/* $OpenBSD: if_enc.c,v 1.13 1999/11/02 00:15:56 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -91,7 +91,7 @@ encattach(int nenc)
struct ifnet *ifp;
int i;
- bzero(encif, NENC * sizeof(encif));
+ bzero(encif, sizeof(encif));
for (i = 0; i < NENC; i++) {
ifp = &encif[i].sc_if;