Page MenuHomeFreeBSD

bhyveload: make error printing consistent
ClosedPublic

Authored by kevans on Jan 5 2024, 4:10 PM.
Tags
None
Referenced Files
F115507191: D43331.id132342.diff
Thu, Apr 24, 3:20 PM
Unknown Object (File)
Mon, Apr 7, 11:38 PM
Unknown Object (File)
Mon, Apr 7, 2:09 PM
Unknown Object (File)
Mon, Apr 7, 1:57 PM
Unknown Object (File)
Thu, Apr 3, 7:57 AM
Unknown Object (File)
Fri, Mar 28, 2:47 PM
Unknown Object (File)
Mar 8 2025, 5:37 AM
Unknown Object (File)
Jan 27 2025, 5:07 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 55261
Build 52150: arc lint + arc unit