]> git.ipfire.org Git - thirdparty/util-linux.git/commit
rfkill: do not ignore read error
authorSami Kerola <kerolasa@iki.fi>
Sun, 25 Jun 2017 00:35:28 +0000 (01:35 +0100)
committerSami Kerola <kerolasa@iki.fi>
Wed, 30 Aug 2017 19:32:48 +0000 (20:32 +0100)
commit6955a1d66c26343443a22f488b9f662aa240d010
treebb7f0560bd45edf1a8b2333c05359e7c305d161c
parentb03378e793c75e3a6a2d939328c0262b69088b03
rfkill: do not ignore read error

Read error should be impossible, but when one does happen user certainly
wants to know about that rather than see even more strange issue caused
random data in name variable.

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