scsi_sg - cmd is now ap->a_cmd
authorAlex Hornung <ahornung@gmail.com>
Fri, 9 Oct 2009 15:53:15 +0000 (16:53 +0100)
committerAlex Hornung <ahornung@gmail.com>
Fri, 9 Oct 2009 15:53:15 +0000 (16:53 +0100)
commitfc58f8820796b8a0aede2a0d64024777a3178d7f
tree74f08d17a9377b71702d640c4c3a5419f2824fd8
parentb235ad6de5d8382f0b85332f4ea96a08b08e24a8
scsi_sg - cmd is now ap->a_cmd

* the cmd parameter for an ioctl routine is in the ap ioctl_args
  structure since some time ago, so don't use the inexistant cmd
  variable for the debug kprintf.
* This solves a compilation issue when building with scsi debug.

Reported-By: Jan Lentfer
sys/bus/cam/scsi/scsi_sg.c