freebsd-skq/sbin/dmesg
flo e6f7332842 Move the check whether the clear flag is set. This has 2 advantages
- When operating on a core file (-M) and -c is specified we don't clear
  the message buffer of the running system.
- If we don't have permission to clear the buffer print the error message
  only. That's what Linux does in this case, where this feature was ported
  from, and it ensures that the error message doesn't get lost in the noise.

Discussed with:	antoine, cognet
Approved by:	cognet
2013-06-11 17:46:32 +00:00
..
dmesg.8 Bump .Dd for recent content change. 2013-05-10 12:49:16 +00:00
dmesg.c Move the check whether the clear flag is set. This has 2 advantages 2013-06-11 17:46:32 +00:00
Makefile