From owner-cvs-all@FreeBSD.ORG Tue Mar 2 17:51:25 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8007B16A4CE; Tue, 2 Mar 2004 17:51:25 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79A2043D1F; Tue, 2 Mar 2004 17:51:25 -0800 (PST) (envelope-from ken@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i231pPGe097169; Tue, 2 Mar 2004 17:51:25 -0800 (PST) (envelope-from ken@repoman.freebsd.org) Received: (from ken@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i231pPJB097165; Tue, 2 Mar 2004 17:51:25 -0800 (PST) (envelope-from ken) Message-Id: <200403030151.i231pPJB097165@repoman.freebsd.org> From: "Kenneth D. Merry" Date: Tue, 2 Mar 2004 17:51:25 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/camcontrol camcontrol.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 01:51:25 -0000 ken 2004/03/02 17:51:25 PST FreeBSD src repository Modified files: sbin/camcontrol camcontrol.c Log: Fix a couple of camcontrol issues that popped up on sparc64: - bzero the CCB header in getdevtree() and set the path properly, to avoid having random garbage in the CCB header. - if the lun isn't specified in a device specifier, it should default to 0, not whatever random data happens to be in the lun variable. - move the prototype for getdevtree() out from under #ifndef MINIMALISTIC, since it is used in both cases. Submitted by: Marius Strobl (mostly) MFC After: 2 weeks Revision Changes Path 1.52 +12 -2 src/sbin/camcontrol/camcontrol.c