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, Oct 13, 7:40 PM
Unknown Object (File)
Mon, Oct 12, 1:37 PM
Unknown Object (File)
Sun, Oct 11, 2:12 AM
Unknown Object (File)
Sat, Oct 10, 7:13 AM
Unknown Object (File)
Fri, Oct 9, 2:55 AM
Unknown Object (File)
Mon, Oct 5, 11:35 AM
Unknown Object (File)
Mon, Oct 5, 10:44 AM
Unknown Object (File)
Mon, Oct 5, 10:23 AM
Subscribers

Details

Reviewers
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?