diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-19 23:48:27 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-19 23:48:27 +0000 |
commit | 02abd40029ea0d6cbb65cbb70816266541fb45a2 (patch) | |
tree | de102c840aded1a3b5511745802f9d6ef74aeb6f /sys/netinet/in_proto.c | |
parent | 2464bbf05ac2af46a81e4dbb3c2a7e4a62bb35f1 (diff) | |
download | src-02abd40029ea0d6cbb65cbb70816266541fb45a2.tar.gz src-02abd40029ea0d6cbb65cbb70816266541fb45a2.zip |
Notes
Diffstat (limited to 'sys/netinet/in_proto.c')
-rw-r--r-- | sys/netinet/in_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index e7569c45f740..1d32caf42b90 100644 --- a/sys/netinet/in_proto.c +++ b/sys/netinet/in_proto.c @@ -357,7 +357,7 @@ struct domain inetdomain = { .dom_family = AF_INET, .dom_name = "internet", .dom_protosw = inetsw, - .dom_protoswNPROTOSW = &inetsw[sizeof(inetsw)/sizeof(inetsw[0])], + .dom_protoswNPROTOSW = &inetsw[nitems(inetsw)], #ifdef RADIX_MPATH .dom_rtattach = rn4_mpath_inithead, #else |