]> git.ipfire.org Git - thirdparty/util-linux.git/commit
wdctl: do not call fsync(2) when closing watchdog device
authorSami Kerola <kerolasa@iki.fi>
Sun, 23 Jul 2017 21:20:37 +0000 (22:20 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Sep 2017 12:12:29 +0000 (14:12 +0200)
commit0b526bec22c86b2151d7fea955874b6e58b5a647
tree2de25d5f735c2d06b4adf15ee9eeebd6a9588457
parentff70a9c216fe63a2bf318079b3d207c16aa9b575
wdctl: do not call fsync(2) when closing watchdog device

This removes bogus write failed warning.

$ wdctl
wdctl: write failed: Invalid argument
Device:        /dev/watchdog
[...]

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