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, Oct 1, 12:14 AM
Unknown Object (File)
Mon, Sep 30, 11:58 PM
Unknown Object (File)
Fri, Sep 27, 9:39 PM
Unknown Object (File)
Wed, Sep 25, 5:30 AM
Unknown Object (File)
Tue, Sep 24, 11:35 AM
Unknown Object (File)
Mon, Sep 23, 3:40 AM
Unknown Object (File)
Fri, Sep 20, 7:50 AM
Unknown Object (File)
Mon, Sep 16, 6:57 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