git: <sys/param.h>: Fix a typo in the NELEM() definition.

Sascha Wildner swildner at
Fri May 20 01:56:29 PDT 2011

commit fa8f7852fe627febb1570324616a93454a1f4e33
Author: Sascha Wildner <saw at>
Date:   Fri May 20 10:53:57 2011 +0200

    <sys/param.h>: Fix a typo in the NELEM() definition.
    This way it resolves to sizeof(foo[0]) instead of sizeof(foo)[0].
    Interestingly, both ways work and give the same results. But the former
    looks clearer.

Summary of changes:
 sys/sys/param.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list