Page MenuHomeFreeBSD

nanobsd: Add an err() convenience function
Needs ReviewPublic

Authored by senguptaangshuman17_gmail.com on Tue, Aug 18, 10:41 PM.
Tags
None
Referenced Files
F170052148: D58933.id184984.diff
Thu, Sep 3, 9:13 AM
F170050645: D58933.id185244.diff
Thu, Sep 3, 9:07 AM
F170043112: D58933.id185243.diff
Thu, Sep 3, 8:30 AM
F170030639: D58933.id184816.diff
Thu, Sep 3, 7:30 AM
F170008317: D58933.id184448.diff
Thu, Sep 3, 5:57 AM
F169989852: D58933.id184286.diff
Thu, Sep 3, 5:02 AM
F169938363: D58933.id.diff
Thu, Sep 3, 1:02 AM
F169922581: D58933.id184816.diff
Wed, Sep 2, 11:46 PM
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.Thu, Aug 20, 3:23 PM
This revision now requires review to proceed.Sun, Aug 23, 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?