diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2011-04-05 19:54:37 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2011-04-05 19:54:37 +0000 |
commit | b8b4ecf359b69b2f384dabb79edbf67040b9cf73 (patch) | |
tree | c0bc74d091e943b420aa575b7cb990372bb71432 /sys/kern/uipc_proto.c | |
parent | 115b944ccca42da53ff06c03476cac943041002e (diff) |
- use nitems() no binary change on amd64
"reads OK" claudio@
Diffstat (limited to 'sys/kern/uipc_proto.c')
-rw-r--r-- | sys/kern/uipc_proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_proto.c b/sys/kern/uipc_proto.c index 6ebc85d4fa9..7619f070623 100644 --- a/sys/kern/uipc_proto.c +++ b/sys/kern/uipc_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_proto.c,v 1.4 2003/06/02 23:28:07 millert Exp $ */ +/* $OpenBSD: uipc_proto.c,v 1.5 2011/04/05 19:54:36 jasper Exp $ */ /* $NetBSD: uipc_proto.c,v 1.8 1996/02/13 21:10:47 christos Exp $ */ /*- @@ -69,4 +69,4 @@ struct protosw unixsw[] = { struct domain unixdomain = { AF_LOCAL, "unix", 0, unp_externalize, unp_dispose, - unixsw, &unixsw[sizeof(unixsw)/sizeof(unixsw[0])] }; + unixsw, &unixsw[nitems(unixsw)] }; |