HomeFreeBSD

fifolog(1): invert order of calloc(3) arguments.

Description

fifolog(1): invert order of calloc(3) arguments.

The second argment to calloc(3) should be the size, make it so.

While here be a little bit more cautious in fifolog_reader_open()
to protect in the unlikely event of an overflowed allocation.

MFC after: 3 weeks

Details

Provenance
pfgAuthored on
Parents
rS305811: Try to fix LINT builds after r305807. Seems to be a simple s&r error
Branches
Unknown
Tags
Unknown