summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2012-04-19 21:10:54 +0200
committerKarel Zak <kzak@redhat.com>2012-05-03 15:00:07 +0200
commit33a0de92e9c441797f00e8b5c0cc3a7c2d3e515c (patch)
tree58dd109741988fc82afb104fa5335295f61aa8c3 /include
parent96f817fb169ac38fe5535cb8c6d2fdf9b2cb8f10 (diff)
downloadutil-linux-33a0de92e9c441797f00e8b5c0cc3a7c2d3e515c.tar.gz
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')
-rw-r--r--include/pathnames.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index 88bec08d..ba8de011 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 */