summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2019-05-31 14:49:23 +0200
committerKarel Zak2019-06-17 15:47:39 +0200
commit8c8df4214656794b82d4eac5dffe36d3cac389e3 (patch)
treee928ba9975c1363ceaf2ed7d11ee14ccbcc4b270 /include
parentwdctl: remove printing from main() (diff)
downloadkernel-qcow2-util-linux-8c8df4214656794b82d4eac5dffe36d3cac389e3.tar.gz
kernel-qcow2-util-linux-8c8df4214656794b82d4eac5dffe36d3cac389e3.tar.xz
kernel-qcow2-util-linux-8c8df4214656794b82d4eac5dffe36d3cac389e3.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/pathnames.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index ee470ee4b..6f091d5f0 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -167,9 +167,6 @@
/* deprecated */
#define _PATH_RAWDEVCTL_OLD "/dev/rawctl"
-/* wdctl path */
-#define _PATH_WATCHDOG_DEV "/dev/watchdog"
-
/* ipc paths */
#define _PATH_PROC_SYSV_MSG "/proc/sysvipc/msg"
#define _PATH_PROC_SYSV_SEM "/proc/sysvipc/sem"