]> git.ipfire.org Git - thirdparty/util-linux.git/commit
dmesg: do not accept any non-option arguments
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 20 Jun 2017 09:50:20 +0000 (11:50 +0200)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 22 Jun 2017 19:34:43 +0000 (21:34 +0200)
commit488a21686f0d8a614f0dfe3f8884ace61bf2eccd
tree135a022d92f1c95c9b575db562d0ff5bb8dc3bdf
parent3b7693cadac203133ad3a13013d507dbc6c1b6b7
dmesg: do not accept any non-option arguments

'dmesg foo' is no valid syntax and gives an error now.
BTW we avoid the "dead increment of argc and argv.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
sys-utils/dmesg.c