aboutsummaryrefslogtreecommitdiff
path: root/sbin/camcontrol
diff options
context:
space:
mode:
authorKenneth D. Merry <ken@FreeBSD.org>1998-10-13 16:23:26 +0000
committerKenneth D. Merry <ken@FreeBSD.org>1998-10-13 16:23:26 +0000
commit2e2b088cc216da3dd6bbc3812e747cf0e2f42c84 (patch)
tree4f60ab5e91acefae759d269caaff56c561780d17 /sbin/camcontrol
parentd2165c2f7d8bf2783caa37e8e1e25610740e04fe (diff)
Notes
Diffstat (limited to 'sbin/camcontrol')
-rw-r--r--sbin/camcontrol/camcontrol.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c
index 83a830090bba4..66d56bc9e3665 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 <sys/ioctl.h>
@@ -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,