Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/iscsi Fix typo



details:   https://anonhg.NetBSD.org/src/rev/27c34f1f6c43
branches:  trunk
changeset: 828260:27c34f1f6c43
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Dec 06 04:29:58 2017 +0000

description:
Fix typo

diffstat:

 sys/dev/iscsi/iscsi_ioctl.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bde6ac2c5c4e -r 27c34f1f6c43 sys/dev/iscsi/iscsi_ioctl.c
--- a/sys/dev/iscsi/iscsi_ioctl.c       Wed Dec 06 04:12:25 2017 +0000
+++ b/sys/dev/iscsi/iscsi_ioctl.c       Wed Dec 06 04:29:58 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iscsi_ioctl.c,v 1.28 2017/12/03 19:07:10 christos Exp $        */
+/*     $NetBSD: iscsi_ioctl.c,v 1.29 2017/12/06 04:29:58 ozaki-r Exp $ */
 
 /*-
  * Copyright (c) 2004,2005,2006,2011 The NetBSD Foundation, Inc.
@@ -443,7 +443,7 @@
        int rc = 1;
 
        mutex_enter(&iscsi_cleanup_mtx);
-       KASSERT(session != NULL);
+       KASSERT(sess != NULL);
        if (sess->s_refcount <= CCBS_PER_SESSION) {
                sess->s_refcount++;
                rc = 0;



Home | Main Index | Thread Index | Old Index