From alumina@sensyu.ne.jp Fri Jun  4 11:10:38 1999
Return-Path: <alumina@sensyu.ne.jp>
Received: from cylphia.cmxs.bbs (ppp069.sensyu.ne.jp [210.154.132.169])
	by hub.freebsd.org (Postfix) with ESMTP id 8F7A715AC3
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Jun 1999 11:10:17 -0700 (PDT)
	(envelope-from alumina@sensyu.ne.jp)
Received: (from alumina@localhost)
	by cylphia.cmxs.bbs (8.9.2/3.7W) id DAA48689;
	Sat, 5 Jun 1999 03:11:29 +0900 (JST)
Message-Id: <199906041811.DAA48689@cylphia.cmxs.bbs>
Date: Sat, 5 Jun 1999 03:11:29 +0900 (JST)
From: alumina@sensyu.ne.jp
Reply-To: alumina@sensyu.ne.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: cam_get_device(3) return value is not consensus to manual.
X-Send-Pr-Version: 3.2

>Number:         12023
>Category:       docs
>Synopsis:       cam_get_device(3) function return-value is different.(man&src)
>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:   Fri Jun  4 11:20:01 PDT 1999
>Closed-Date:    Tue Jun 15 13:04:50 PDT 1999
>Last-Modified:  Tue Jun 15 13:05:40 PDT 1999
>Originator:     Yoshiji Emoto
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
I'm free now.
>Environment:

	

>Description:

	cam_get_device(3) function return-value is different.

	manual: normal case is 0, fail case is -1.
	source: normal case is 1, fail case is 0.

>How-To-Repeat:

	none.

>Fix:
	
	manual and source-code, either right?


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Tue Jun 15 13:04:50 PDT 1999 
State-Changed-Why:  
The library was updated to return the values specified in the documentntation, 
since this is what camcontrol(8) is expecting. 
>Unformatted:
