Page MenuHomeFreeBSD

bhyveload: make error printing consistent
ClosedPublic

Authored by kevans on Jan 5 2024, 4:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 2, 11:27 PM
Unknown Object (File)
Tue, Jul 2, 11:14 PM
Unknown Object (File)
May 3 2024, 4:42 AM
Unknown Object (File)
Apr 27 2024, 6:02 PM
Unknown Object (File)
Apr 27 2024, 6:02 PM
Unknown Object (File)
Apr 27 2024, 5:28 PM
Unknown Object (File)
Apr 11 2024, 7:24 PM
Unknown Object (File)
Apr 11 2024, 7:24 PM
Subscribers

Details

Summary

Previously we used a mix of perror(3) + exit(3) and err(3); standardize
on the latter instead. This does remove one free() in an error path,
because we're decidedly leaking a lot more than just the loader name
there (loader handle, vcpu, vmctx...) anyways.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable