Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sbin/dmesg
Module Name: src
Committed By: kre
Date: Tue Nov 24 21:53:49 UTC 2026
Modified Files:
src/sbin/dmesg: dmesg.c
Log Message:
sbin/dmesg/dmesg.c - fix SMALL build
Most of the code for the new -c/-C options was excluded when doing a SMALL
build, but not all of it. Make it all vanish in SMALL mode.
Also, fix the clearbuf() func decl to properly match the prototype.
And, just for fun (and I can't realistically test this) make it possible
to build if the KERN_MSGBUFCLR isn't available from the relevant header
file (updated one not installed, or whatever). If that ever happens,
any attempt to clear the msgbuf will simply error exit.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sbin/dmesg/dmesg.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index