diff options
author | maxim <maxim@FreeBSD.org> | 2006-04-15 17:52:02 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2006-04-15 17:52:02 +0000 |
commit | ca4a49d5e9ad0dea2f390e4d75d8220f8448ee44 (patch) | |
tree | eca1ca2a7a5c98f6a7432fde16f8a595c5c69002 /share | |
parent | fa23d639eb98f27b4969990f84b1bc6732a0e799 (diff) | |
download | FreeBSD-src-ca4a49d5e9ad0dea2f390e4d75d8220f8448ee44.zip FreeBSD-src-ca4a49d5e9ad0dea2f390e4d75d8220f8448ee44.tar.gz |
o Document /dev/fido.
PR: docs/85425
Approved by: phk
MFC after: 2 weeks
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/watchdog.4 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/share/man/man4/watchdog.4 b/share/man/man4/watchdog.4 index ad9a105..a533ec8 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 |