From olli@kartanin.heim3.tu-clausthal.de  Thu Apr 17 02:33:51 1997
Received: from kartanin.heim3.tu-clausthal.de (kartanin.heim3.tu-clausthal.de [139.174.243.61])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA22188
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 Apr 1997 02:33:50 -0700 (PDT)
Received: (from olli@localhost)
	by kartanin.heim3.tu-clausthal.de (8.8.5/8.8.5) id LAA01127;
	Thu, 17 Apr 1997 11:33:48 +0200 (CEST)
Message-Id: <199704170933.LAA01127@kartanin.heim3.tu-clausthal.de>
Date: Thu, 17 Apr 1997 11:33:48 +0200 (CEST)
From: oliver.fromme@heim3.tu-clausthal.de
Reply-To: oliver.fromme@heim3.tu-clausthal.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: manpage bug in scsi(8) (cmd args are hex)
X-Send-Pr-Version: 3.2

>Number:         3313
>Category:       docs
>Synopsis:       manpage bug in scsi(8) (cmd args are hex)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 17 02:40:02 PDT 1997
>Closed-Date:    Sun Aug 24 11:03:06 MEST 1997
>Last-Modified:  Sun Aug 24 11:03:33 MEST 1997
>Originator:     Oliver Fromme
>Release:        FreeBSD 2.2.1-RELEASE i386
>Organization:
Administration Heim 3, Technical University of Clausthal
>Environment:
>Description:

The scsi(8) manpage fails to mention that arguments to
-c commands are specified in hexadecimal.  The "examples"
section in that manpage also seems to use decimal values,
which is wrong.

>How-To-Repeat:

Enter "man 8 scsi" on FreeBSD 2.1.7 or 2.2.1.

>Fix:
	
In the section of the manpage explaining the -c option,
add a remark that arguments are specified in hexadecimal.

>Release-Note:
>Audit-Trail:

From: Peter Dufault <dufault@hda.com>
To: oliver.fromme@heim3.tu-clausthal.de
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: docs/3313: manpage bug in scsi(8) (cmd args are hex)
Date: Thu, 17 Apr 1997 06:08:40 -0400 (EDT)

 > The scsi(8) manpage fails to mention that arguments to
 > -c commands are specified in hexadecimal.  The "examples"
 > section in that manpage also seems to use decimal values,
 > which is wrong.
 
 The arguments are parsed using strtol with a base of zero and so
 can be decimal (default) or hex (leading 0x).  The confusing part
 is that the numbers INSIDE a format string are hex unconditionally
 to make it easy to copy commands from the spec.
 
 Peter
 
 -- 
 Peter Dufault (dufault@hda.com)   Realtime Machine Control and Simulation
 HD Associates, Inc.               Voice: 508 433 6936
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Aug 24 11:03:06 MEST 1997 
State-Changed-Why:  

Man page clarified in rev 1.12 of scsi.8. 
>Unformatted:
