summaryrefslogtreecommitdiff
path: root/sys/netnatm/natm_proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netnatm/natm_proto.c')
-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 */