HomeFreeBSD

mkimg(1): minor cleanups with argument order in calloc(3).

Description

mkimg(1): minor cleanups with argument order in calloc(3).

Generally the first argument in calloc is supposed to stand for a count
and the second for a size. Try to make that consistent. While here,
attempt to make some use of the overflow detection capability in
calloc(3).

Details

Provenance
pfgAuthored on
Parents
rS302663: MFC r302503:
Branches
Unknown
Tags
Unknown