aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMaxim Konovalov <maxim@FreeBSD.org>2006-04-15 17:52:02 +0000
committerMaxim Konovalov <maxim@FreeBSD.org>2006-04-15 17:52:02 +0000
commit1805d92b3216e01fd88d63baee4f56f11ecfa200 (patch)
treeeca1ca2a7a5c98f6a7432fde16f8a595c5c69002 /share
parent26ca704dbd72b1d92fa86c88afb56062e056187c (diff)
Notes
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/watchdog.47
1 files changed, 3 insertions, 4 deletions
diff --git a/share/man/man4/watchdog.4 b/share/man/man4/watchdog.4
index ad9a105e438a..a533ec8068ae 100644
--- a/share/man/man4/watchdog.4
+++ b/share/man/man4/watchdog.4
@@ -42,9 +42,8 @@ The
.Nm
facility is used for controlling hardware and software watchdogs.
.Pp
-The interface is through a device named
-.Qq Li /dev/
-.Dv _PATH_WATCHDOG
+The interface is through a device
+.Pa /dev/fido
which responds to a single
.Xr ioctl 2
call,
@@ -77,7 +76,7 @@ length, all watchdogs are disabled and must be explicitly re-enabled.
.\" XXX insert some descriptive text here
.Bd -literal -offset indent
u_int u = WD_ACTIVE | WD_TO_8SEC;
-int fd = open("/dev/" _PATH_WATCHDOG, O_RDWR);
+int fd = open("/dev/fido", O_RDWR);
ioctl(fd, WDIOCPATPAT, &u);
.Ed