Module Name:    src
Committed By:   martin
Date:           Sun Sep 15 19:27:22 UTC 2013

Modified Files:
        src/sys/dev/usb: usscanner.c

Log Message:
Fix botch in previous


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/usb/usscanner.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/usscanner.c
diff -u src/sys/dev/usb/usscanner.c:1.37 src/sys/dev/usb/usscanner.c:1.38
--- src/sys/dev/usb/usscanner.c:1.37	Sun Sep 15 15:49:38 2013
+++ src/sys/dev/usb/usscanner.c	Sun Sep 15 19:27:22 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: usscanner.c,v 1.37 2013/09/15 15:49:38 martin Exp $	*/
+/*	$NetBSD: usscanner.c,v 1.38 2013/09/15 19:27:22 martin Exp $	*/
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usscanner.c,v 1.37 2013/09/15 15:49:38 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usscanner.c,v 1.38 2013/09/15 19:27:22 martin Exp $");
 
 #include "scsibus.h"
 #include <sys/param.h>
@@ -713,7 +713,8 @@ usscanner_scsipi_request(struct scsipi_c
 		    device_xname(sc->sc_dev),
 		    xs->xs_periph->periph_target, xs->xs_periph->periph_lun,
 		    xs, xs->cmd->opcode, xs->datalen,
-		    periph->periph_quirks, xs->xs_control & XS_CTL_POLL));
+		    xs->xs_periph->periph_quirks,
+		    xs->xs_control & XS_CTL_POLL));
 
 		if (sc->sc_dying) {
 			xs->error = XS_DRIVER_STUFFUP;

Reply via email to