summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-11-02 00:15:57 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-11-02 00:15:57 +0000
commit696c21d7d0f2ac469388ac1efb3ec3da4e49fdb8 (patch)
tree7c529ac6a6d4524da464a05d235e0725317c95b0 /sys/net
parent20e39c57b3cc68a64ae40a46430686d94c50e861 (diff)
Fix *stupid* typo/error that was causing the panics in post 2.6, found
by art@
Diffstat (limited to 'sys/net')
-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;