From f0d7c5e4dce512fe13f20b1d9cbcd75b670fa5f4 Mon Sep 17 00:00:00 2001 From: ken Date: Tue, 13 Oct 1998 16:23:26 +0000 Subject: Fix a bug in camcontrol that caused 'camcontrol start' to not work. Noticed by: Philippe Regnauld --- sbin/camcontrol/camcontrol.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sbin/camcontrol') diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c index 83a8300..66d56bc 100644 --- a/sbin/camcontrol/camcontrol.c +++ b/sbin/camcontrol/camcontrol.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: camcontrol.c,v 1.2 1998/10/02 21:00:38 ken Exp $ + * $Id: camcontrol.c,v 1.3 1998/10/03 19:15:53 ken Exp $ */ #include @@ -448,11 +448,6 @@ scsistart(struct cam_device *device, int startstop, int loadeject, union ccb *ccb; int error = 0; - if ((startstop < 0) || (startstop > 1)) { - warnx("SCSI start/stop argument must be 0 or 1"); - return(1); - } - ccb = cam_getccb(device); scsi_start_stop(&ccb->csio, -- cgit v1.1