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 Adjyst some debug printfs



details:   https://anonhg.NetBSD.org/src/rev/93e1cc6b8e33
branches:  trunk
changeset: 998092:93e1cc6b8e33
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Apr 07 12:21:20 2019 +0000

description:
Adjyst some debug printfs

diffstat:

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

diffs (38 lines):

diff -r 7cee8d73fcbc -r 93e1cc6b8e33 sys/arch/xen/xen/xbdback_xenbus.c
--- a/sys/arch/xen/xen/xbdback_xenbus.c Sun Apr 07 09:20:04 2019 +0000
+++ b/sys/arch/xen/xen/xbdback_xenbus.c Sun Apr 07 12:21:20 2019 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xbdback_xenbus.c,v 1.71 2019/02/02 12:32:55 cherry Exp $      */
+/*      $NetBSD: xbdback_xenbus.c,v 1.72 2019/04/07 12:21:20 bouyer Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.71 2019/02/02 12:32:55 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.72 2019/04/07 12:21:20 bouyer Exp $");
 
 #include <sys/atomic.h>
 #include <sys/buf.h>
@@ -1501,8 +1501,8 @@
        }
 
        xbd_io->xio_buf.b_bcount += (daddr_t)(seg_size * VBD_BSIZE);
-       XENPRINTF(("xbdback_io domain %d: start sect %d size %d\n",
-           xbdi->xbdi_domid, (int)xbdi->xbdi_next_sector, seg_size));
+       XENPRINTF(("xbdback_io domain %d: start sect %ld size %d\n",
+           xbdi->xbdi_domid, (long)xbdi->xbdi_next_sector, seg_size));
        
        /* Finally, the end of the segment loop! */
        xbdi->xbdi_next_sector += seg_size;
@@ -1663,7 +1663,7 @@
                    : BLKIF_RSP_OKAY;
 
                XENPRINTF(("xbdback_io domain %d: end request %"PRIu64
-                   "error=%d\n",
+                   " error=%d\n",
                    xbdi->xbdi_domid, xbd_req->rq_id, error));
                xbdback_send_reply(xbdi, xbd_req->rq_id,
                    xbd_req->rq_operation, error);



Home | Main Index | Thread Index | Old Index