From nerd@xyz.com  Sun Aug  4 12:15:44 2002
Return-Path: <nerd@xyz.com>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D775837B400
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <nerd@xyz.com>
Reply-To: Michael Galassi <nerd@xyz.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: greg@codeconcepts.com
Subject: return value in man page for kldunload is incorrect
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 04 12:20:05 PDT 2002
>Closed-Date:    Tue Oct 01 16:55:32 PDT 2002
>Last-Modified:  Tue Oct 01 16:55:32 PDT 2002
>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:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Tue Oct 1 16:54:01 PDT 2002 
State-Changed-Why:  
Fixed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41329 
>Unformatted:
