freebsd-dev/sbin/dmesg
Ian Lepore 93c3ad10f1 Fix minor fallout from sysctl strings being nulterminated now. The dmesg
code can read the buffer via sysctl or from a core file.  In the core file
case there will be no nulterm, and the code copes with that, but now in the
sysctl case there is a nulterm (there didn't used to be).  The least
disruptive way to restore the old behavior (and eliminate a spurious '\000'
at the end of the output) is to remove the nulterm (by decrementing the
buffer length) in the sysctl case.
2015-03-16 21:09:11 +00:00
..
dmesg.8 Bump .Dd for recent content change. 2013-05-10 12:49:16 +00:00
dmesg.c Fix minor fallout from sysctl strings being nulterminated now. The dmesg 2015-03-16 21:09:11 +00:00
Makefile Convert sbin/ to LIBADD 2014-11-25 11:23:12 +00:00