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)
Oct 21 2024, 10:25 PM
Unknown Object (File)
Oct 1 2024, 12:14 AM
Unknown Object (File)
Sep 30 2024, 11:58 PM
Unknown Object (File)
Sep 27 2024, 9:39 PM
Unknown Object (File)
Sep 25 2024, 5:30 AM
Unknown Object (File)
Sep 24 2024, 11:35 AM
Unknown Object (File)
Sep 23 2024, 3:40 AM
Unknown Object (File)
Sep 20 2024, 7:50 AM
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