OSDN Git Service

Fix dmesg -c error output.
authorElliott Hughes <enh@google.com>
Sun, 3 May 2015 21:25:09 +0000 (16:25 -0500)
committerRob Landley <rob@landley.net>
Sun, 3 May 2015 21:25:09 +0000 (16:25 -0500)
commitabb5ae390342acf8eea2903033fb1d5879845b43
treed7e3c44e1eaa638bd84e4cf8ea57757dd87ce9ac
parent9398f05d34453e9306f7a91993ee4c8fcf1102ec
Fix dmesg -c error output.

Use perror_exit to show the likely "Operation not permitted" if klogctl fails.
toys/lsb/dmesg.c