HomeFreeBSD

lib/libc/tests/nss: use calloc appropriately

Description

lib/libc/tests/nss: use calloc appropriately

The pattern used prior to this commit was calloc(1, n * sizeof(type));
the pattern that should be used however is calloc(n, sizeof(type)).

MFC after: 3 days
Sponsored by: Dell EMC Isilon

Details

Provenance
ngieAuthored on
Parents
rS319026: pw: add some basic testcases for groupshow and usershow
Branches
Unknown
Tags
Unknown