HomeFreeBSD

MFC r300224:

Description

MFC r300224:


r300224 | ken | 2016-05-19 13:13:43 -0600 (Thu, 19 May 2016) | 12 lines

Adjust a couple of error cases in camdd(8).

usr.sbin/camdd/camdd.c:
	In camdd_probe_file(), fix an error case after fstat where
	we were bailing out and leaving two lines of cleanup code
	unexecuted.  Instead, just goto bailout_error.

	In camdd_probe_pass(), fail if the sector size is 0.
------------------------------------------------------------------------

Sponsored by: Spectra Logic

Details

Provenance
kenAuthored on
Parents
rS300680: Remove legacy brk and sbrk from RISC-V.
Branches
Unknown
Tags
Unknown