summaryrefslogtreecommitdiffstats
path: root/include/pathnames.h
diff options
context:
space:
mode:
authorSami Kerola2012-04-19 21:10:54 +0200
committerKarel Zak2012-05-03 15:00:07 +0200
commit33a0de92e9c441797f00e8b5c0cc3a7c2d3e515c (patch)
tree58dd109741988fc82afb104fa5335295f61aa8c3 /include/pathnames.h
parentfdisk: fix fdiskdoslabel.c global variables (diff)
downloadkernel-qcow2-util-linux-33a0de92e9c441797f00e8b5c0cc3a7c2d3e515c.tar.gz
kernel-qcow2-util-linux-33a0de92e9c441797f00e8b5c0cc3a7c2d3e515c.tar.xz
kernel-qcow2-util-linux-33a0de92e9c441797f00e8b5c0cc3a7c2d3e515c.zip
wdctl: align with other util-linux commands
* Add watchdog device path to pathnames.h * Check output stream status at exit. * Adjust usage() notation to follow howto file. * Retire numeric return value. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r--include/pathnames.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index 88bec08df..ba8de0111 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -146,6 +146,8 @@
/* deprecated */
#define _PATH_RAWDEVCTL_OLD "/dev/rawctl"
+/* wdctl path */
+#define _PATH_WATCHDOG_DEV "/dev/watchdog"
#endif /* PATHNAMES_H */