Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen Fix typo to make compilable.



details:   https://anonhg.NetBSD.org/src/rev/4a417d75372c
branches:  trunk
changeset: 1009313:4a417d75372c
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Apr 20 03:00:33 2020 +0000

description:
Fix typo to make compilable.

diffstat:

 sys/arch/xen/xen/xbdback_xenbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c54528a1305e -r 4a417d75372c sys/arch/xen/xen/xbdback_xenbus.c
--- a/sys/arch/xen/xen/xbdback_xenbus.c Mon Apr 20 02:04:44 2020 +0000
+++ b/sys/arch/xen/xen/xbdback_xenbus.c Mon Apr 20 03:00:33 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xbdback_xenbus.c,v 1.80 2020/04/19 20:53:20 jdolecek Exp $      */
+/*      $NetBSD: xbdback_xenbus.c,v 1.81 2020/04/20 03:00:33 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.80 2020/04/19 20:53:20 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.81 2020/04/20 03:00:33 msaitoh Exp $");
 
 #include <sys/atomic.h>
 #include <sys/buf.h>
@@ -1580,7 +1580,7 @@
        case BLKIF_OP_READ:
        case BLKIF_OP_WRITE:
                start_offset = (vaddr_t)xbd_io->xio_buf.b_data;
-               KASSERT(xbd_io->xio_buf.b_bcount + start_offset < VDB_VA_SIZE);
+               KASSERT(xbd_io->xio_buf.b_bcount + start_offset < VBD_VA_SIZE);
                xbd_io->xio_buf.b_data = (void *)
                    (start_offset + xbd_io->xio_vaddr);
 #ifdef DIAGNOSTIC



Home | Main Index | Thread Index | Old Index