summaryrefslogtreecommitdiff
path: root/sys/netnatm
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-03-31 10:36:43 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2011-03-31 10:36:43 +0000
commite6afa8d9323fde46a5d11c7bc09a6715bf448dc9 (patch)
treed2f1055e28627b85c71f875235fc6fa06f3640d8 /sys/netnatm
parent40d1e31818b82eae373c2f0ed10a196cc0f8d58a (diff)
- use nitems(); no binary change
ok claudio@
Diffstat (limited to 'sys/netnatm')
-rw-r--r--sys/netnatm/natm_proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netnatm/natm_proto.c b/sys/netnatm/natm_proto.c
index fc8363dd3d7..1f55905b61b 100644
--- a/sys/netnatm/natm_proto.c
+++ b/sys/netnatm/natm_proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: natm_proto.c,v 1.4 2002/03/14 01:27:12 millert Exp $ */
+/* $OpenBSD: natm_proto.c,v 1.5 2011/03/31 10:36:42 jasper Exp $ */
/*
*
@@ -86,7 +86,7 @@ struct protosw natmsw[] = {
struct domain natmdomain =
{ AF_NATM, "natm", natm_init, 0, 0,
- natmsw, &natmsw[sizeof(natmsw)/sizeof(natmsw[0])], 0,
+ natmsw, &natmsw[nitems(natmsw)], 0,
0, 0, 0};
struct ifqueue natmintrq; /* natm packet input queue */