]> git.ipfire.org Git - thirdparty/util-linux.git/commit
wdctl: default to /dev/watchdog0
authorKarel Zak <kzak@redhat.com>
Fri, 31 May 2019 12:49:23 +0000 (14:49 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Jun 2019 13:47:39 +0000 (15:47 +0200)
commit8c8df4214656794b82d4eac5dffe36d3cac389e3
treee928ba9975c1363ceaf2ed7d11ee14ccbcc4b270
parent5d628f37b7423c0047136c81aa7ff3b812fcaed9
wdctl: default to /dev/watchdog0

Let's use miscdev /dev/watchdog as fallback only. We need (if possible)
cdev /dev/watchdog0 as this device has entry in /sys/class/watchdog.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/pathnames.h
sys-utils/wdctl.c