Skip to content

Add cmn_err() from SysV and Coherent.#91

Open
calmsacibis995 wants to merge 3 commits intoRetroBSD:masterfrom
calmsacibis995:cmn_err
Open

Add cmn_err() from SysV and Coherent.#91
calmsacibis995 wants to merge 3 commits intoRetroBSD:masterfrom
calmsacibis995:cmn_err

Conversation

@calmsacibis995
Copy link
Copy Markdown
Contributor

SysV and Coherent (a Unix clone) do not use the panic() function. Instead, they use cmn_err(), which also supports printing warnings from the kernel, notices, and kernel panics. The code has been slightly modified from the original, so it can be built under RetroBSD.

SysV and Coherent, instead of panic(), they use cmn_err(), which also supports printing warning messages and notices from the kernel. RetroBSD can also use this function as well. The function has been slightly modified for RetroBSD to remove SysV/Coherent-specific code.
Needed by the newly created cmn_err() and xcmn_err() functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant