mkimg(1): minor cleanups with argument order in calloc(3).
commit80204cc623c4e71e0a1a36bb8e5d0b416e5f530c
authorpfg <pfg@FreeBSD.org>
Tue, 12 Jul 2016 15:46:53 +0000 (12 15:46 +0000)
committerpfg <pfg@FreeBSD.org>
Tue, 12 Jul 2016 15:46:53 +0000 (12 15:46 +0000)
tree00fd9946ceff73e8c7607713e4fce72a8df587e3
parent056deab5dfe9e5616cb41f0c3a6b34b872d90c89
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).
usr.bin/mkimg/vmdk.c