If none of the watchdogs supports the requested timeout value, the

code returns EOPNOTSUPP, not EINVAL.
This commit is contained in:
ru 2009-12-21 15:12:56 +00:00
parent 238c8f3f56
commit 33537de527

View File

@ -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