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)
Sat, May 16, 8:47 AM
Unknown Object (File)
Sat, May 16, 7:21 AM
Unknown Object (File)
Wed, May 13, 6:31 PM
Unknown Object (File)
Wed, May 13, 5:48 PM
Unknown Object (File)
May 8 2026, 5:19 AM
Unknown Object (File)
May 6 2026, 7:26 AM
Unknown Object (File)
Apr 28 2026, 1:13 AM
Unknown Object (File)
Apr 19 2026, 8:36 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