Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Fix argument.



details:   https://anonhg.NetBSD.org/src/rev/252343154168
branches:  trunk
changeset: 454517:252343154168
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Sep 20 09:07:35 2019 +0000

description:
Fix argument.

Found by the lgtm bot.

diffstat:

 sys/dev/ic/isp_netbsd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d8de2cfcac80 -r 252343154168 sys/dev/ic/isp_netbsd.c
--- a/sys/dev/ic/isp_netbsd.c   Fri Sep 20 08:58:25 2019 +0000
+++ b/sys/dev/ic/isp_netbsd.c   Fri Sep 20 09:07:35 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_netbsd.c,v 1.91 2019/02/03 03:19:27 mrg Exp $ */
+/* $NetBSD: isp_netbsd.c,v 1.92 2019/09/20 09:07:35 maxv Exp $ */
 /*
  * Platform (NetBSD) dependent common attachment code for Qlogic adapters.
  */
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isp_netbsd.c,v 1.91 2019/02/03 03:19:27 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp_netbsd.c,v 1.92 2019/09/20 09:07:35 maxv Exp $");
 
 #include <dev/ic/isp_netbsd.h>
 #include <dev/ic/isp_ioctl.h>
@@ -609,7 +609,7 @@
        }
        if (isp->isp_osinfo.blocked) {
                isp_prt(isp, ISP_LOGWARN,
-                   "I/O while blocked with retries %d", xs, xs->xs_retries);
+                   "I/O while blocked with retries %d", xs->xs_retries);
                if (xs->xs_retries) {
                        xs->error = XS_REQUEUE;
                        xs->xs_retries--;



Home | Main Index | Thread Index | Old Index