]> git.proxmox.com Git - mirror_spl.git/commit - module/spl/spl-err.c
Rebase cmn_err on vcmn_err and don't warn about missing \n
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 27 Oct 2009 22:54:45 +0000 (15:54 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 27 Oct 2009 23:13:35 +0000 (16:13 -0700)
commit4bd577d069985e7b79357cb9744a46b03cdf881b
treea2d530772caad2922207fc8774d0ac620ca342d3
parentf44078fad5a941f2489ce0bbb8ed2c521f13f26e
Rebase cmn_err on vcmn_err and don't warn about missing \n

The cmn_err/vcmn_err functions are layered on top of the debug
system which usually expects a newline at the end.  However, there
really doesn't need to be a newline there and there in fact should
not be for the CE_CONT case so let's just drop the warning.

Also we make a half-hearted attempt to handle a leading ! which
means only send it to the syslog not the console.  In this case
we just send to the the debug logs and not the console.
module/spl/spl-debug.c
module/spl/spl-err.c