]> git.ipfire.org Git - thirdparty/util-linux.git/commit
dmesg: inform user when klogctl() or read_buffer() fails
authorSami Kerola <kerolasa@iki.fi>
Wed, 25 Jul 2012 19:15:44 +0000 (21:15 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 26 Jul 2012 11:51:44 +0000 (13:51 +0200)
commitc1b2cb70039208e37164ab5f32aa76dd18fb4f43
treecaaa03fe4eeef54d915ee3fafc9326efb6574e02
parent7560aebe7ea5153b46e8f63a83014e5fcb3a1e8c
dmesg: inform user when klogctl() or read_buffer() fails

Fix to small regression which made 'dmesg --clear' not to error
when running without root privileges.  Same happen with '-D' and
few other options as well.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/dmesg.c