summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2009-12-21 15:12:56 +0000
committerru <ru@FreeBSD.org>2009-12-21 15:12:56 +0000
commit33537de527b4552087bee1470a925b94f9824e3e (patch)
treea99eddbf25b5e05e7904f4986e892a8b5cdda1d4 /share
parent238c8f3f56f49562c89db28c96274a8e2ae8d8b4 (diff)
downloadFreeBSD-src-33537de527b4552087bee1470a925b94f9824e3e.zip
FreeBSD-src-33537de527b4552087bee1470a925b94f9824e3e.tar.gz
If none of the watchdogs supports the requested timeout value, the
code returns EOPNOTSUPP, not EINVAL.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/watchdog.46
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man4/watchdog.4 b/share/man/man4/watchdog.4
index b208a28..b0a52b1 100644
--- a/share/man/man4/watchdog.4
+++ b/share/man/man4/watchdog.4
@@ -80,13 +80,13 @@ still be armed!
The ioctl returns zero on success and non-zero on failure.
.Bl -tag -width Er
.It Bq Er EOPNOTSUPP
-No watchdog present in the kernel (timeout value other than 0).
+No watchdog present in the kernel or
+none of the watchdogs supports the requested timeout value
+(timeout value other than 0).
.It Bq Er EOPNOTSUPP
Watchdog could not be disabled (timeout value of 0).
.It Bq Er EINVAL
Invalid flag combination passed.
-.It Bq Er EINVAL
-None of the watchdogs supports the requested timeout value.
.El
.Sh EXAMPLES
.Bd -literal -offset indent
OpenPOWER on IntegriCloud