From owner-freebsd-doc Sun Aug 4 12:20: 9 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A40EC37B400 for ; Sun, 4 Aug 2002 12:20:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AF9243E3B for ; Sun, 4 Aug 2002 12:20:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g74JK5JU003236 for ; Sun, 4 Aug 2002 12:20:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g74JK5Zu003235; Sun, 4 Aug 2002 12:20:05 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D775837B400 for ; Sun, 4 Aug 2002 12:15:44 -0700 (PDT) Received: from www.xyz.com (www.xyz.com [199.26.172.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8358843E3B for ; Sun, 4 Aug 2002 12:15:44 -0700 (PDT) (envelope-from nerd@xyz.com) Received: from www.xyz.com (localhost [127.0.0.1]) by www.xyz.com (8.12.5/8.12.5) with ESMTP id g74JFiot033138 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 4 Aug 2002 12:15:44 -0700 (PDT) (envelope-from nerd@www.xyz.com) Received: (from nerd@localhost) by www.xyz.com (8.12.5/8.12.5/Submit) id g74JFiYS033137; Sun, 4 Aug 2002 12:15:44 -0700 (PDT) Message-Id: <200208041915.g74JFiYS033137@www.xyz.com> Date: Sun, 4 Aug 2002 12:15:44 -0700 (PDT) From: Michael Galassi Reply-To: Michael Galassi To: FreeBSD-gnats-submit@FreeBSD.org Cc: greg@codeconcepts.com X-Send-Pr-Version: 3.113 Subject: docs/41329: return value in man page for kldunload is incorrect Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41329 >Category: docs >Synopsis: return value in man page for kldunload is incorrect >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 04 12:20:05 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Michael Galassi >Release: FreeBSD 4.6-STABLE i386 >Organization: xyz.com >Environment: System: FreeBSD www.xyz.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Wed Jul 31 19:31:47 PDT 2002 root@www.xyz.com:/usr/obj/usr/src/sys/WWW i386 >Description: The manpage for kldunload(2) claims that the fileid of the formerly loaded module is returned when in reality a 0 is returned. >How-To-Repeat: man 2 kldunload >Fix: Replace the paragraph that reads: The function kldunload() returns the fileid of the kld file which was previously loaded into memory via kldload(). If an error occurs, kldunload() will return -1 and set errno to indicate the error. With: The function kldunload() on success. If an error occurs, kldunload() will return -1 and set errno to indicate the error. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message