From 33537de527b4552087bee1470a925b94f9824e3e Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 21 Dec 2009 15:12:56 +0000 Subject: If none of the watchdogs supports the requested timeout value, the code returns EOPNOTSUPP, not EINVAL. --- share/man/man4/watchdog.4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share') 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 -- cgit v1.1