Date: Sun, 4 Aug 2002 12:15:44 -0700 (PDT) From: Michael Galassi <nerd@xyz.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: greg@codeconcepts.com Subject: docs/41329: return value in man page for kldunload is incorrect Message-ID: <200208041915.g74JFiYS033137@www.xyz.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208041915.g74JFiYS033137>
