From owner-svn-src-all@FreeBSD.ORG Mon Dec 21 15:12:56 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C27A0106566C; Mon, 21 Dec 2009 15:12:56 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B1E6D8FC20; Mon, 21 Dec 2009 15:12:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBLFCuOM031524; Mon, 21 Dec 2009 15:12:56 GMT (envelope-from ru@svn.freebsd.org) Received: (from ru@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBLFCuZG031522; Mon, 21 Dec 2009 15:12:56 GMT (envelope-from ru@svn.freebsd.org) Message-Id: <200912211512.nBLFCuZG031522@svn.freebsd.org> From: Ruslan Ermilov Date: Mon, 21 Dec 2009 15:12:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200777 - head/share/man/man4 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 15:12:56 -0000 Author: ru Date: Mon Dec 21 15:12:56 2009 New Revision: 200777 URL: http://svn.freebsd.org/changeset/base/200777 Log: If none of the watchdogs supports the requested timeout value, the code returns EOPNOTSUPP, not EINVAL. Modified: head/share/man/man4/watchdog.4 Modified: head/share/man/man4/watchdog.4 ============================================================================== --- head/share/man/man4/watchdog.4 Mon Dec 21 14:59:23 2009 (r200776) +++ head/share/man/man4/watchdog.4 Mon Dec 21 15:12:56 2009 (r200777) @@ -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