Page MenuHomeFreeBSD

nanobsd: Add an err() convenience function
Needs ReviewPublic

Authored by senguptaangshuman17_gmail.com on Aug 18 2026, 10:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 22, 10:45 PM
Unknown Object (File)
Sun, Sep 20, 11:42 PM
Unknown Object (File)
Sat, Sep 19, 5:45 PM
Unknown Object (File)
Sat, Sep 19, 5:03 PM
Unknown Object (File)
Sun, Sep 13, 3:21 PM
Unknown Object (File)
Sat, Sep 12, 1:05 AM
Unknown Object (File)
Sat, Sep 12, 1:03 AM
Unknown Object (File)
Fri, Sep 11, 11:53 AM
Subscribers

Details

Reviewers
jrm
ashish
jlduran
Summary

Add err() to echo a message to stderr and exit with the NanoBSD
fatal error code. Use it in the three existing echo and exit sites.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76234
Build 73117: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Aug 20 2026, 3:23 PM
This revision now requires review to proceed.Aug 23 2026, 11:00 PM

No code changes in this commit. An earlier commit in the stack (D58931) needed a commit-message reword per review feedback, which required a bottom-up arc diff refresh of every commit above it to keep the stack applying cleanly. That refresh is what reset this revision's accepted status, not a content change.

@jlduran, could you re-accept when you get a chance?