diff options
author | ken <ken@FreeBSD.org> | 1998-10-02 21:20:21 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1998-10-02 21:20:21 +0000 |
commit | 2ec620105a191f68ec38a0f0bec9c34837d24f98 (patch) | |
tree | 7eb69e3ac5b9c167a1ad51d4b0868de85c45b7c1 /sys/cam | |
parent | 1ad65369755d2b6446c378c73f956c9a73ac5281 (diff) | |
download | FreeBSD-src-2ec620105a191f68ec38a0f0bec9c34837d24f98.zip FreeBSD-src-2ec620105a191f68ec38a0f0bec9c34837d24f98.tar.gz |
Fix a printf format warning that shows up when CAMDEBUG is defined.
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/scsi/scsi_ch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_ch.c b/sys/cam/scsi/scsi_ch.c index e805c1d..20c50d9 100644 --- a/sys/cam/scsi/scsi_ch.c +++ b/sys/cam/scsi/scsi_ch.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: scsi_ch.c,v 1.1 1998/09/15 06:36:34 gibbs Exp $ + * $Id: scsi_ch.c,v 1.2 1998/10/02 05:25:49 ken Exp $ */ /* * Derived from the NetBSD SCSI changer driver. @@ -740,7 +740,7 @@ chioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) error = 0; CAM_DEBUG(periph->path, CAM_DEBUG_TRACE, - ("trying to do ioctl %#x\n", cmd)); + ("trying to do ioctl %#lx\n", cmd)); /* * If this command can change the device's state, we must |