Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xenbus fix compile when DPRINK() is defined



details:   https://anonhg.NetBSD.org/src/rev/0babacb3db0f
branches:  trunk
changeset: 932710:0babacb3db0f
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu May 14 13:18:55 2020 +0000

description:
fix compile when DPRINK() is defined

diffstat:

 sys/arch/xen/xenbus/xenbus_probe.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r f7254a10d15f -r 0babacb3db0f sys/arch/xen/xenbus/xenbus_probe.c
--- a/sys/arch/xen/xenbus/xenbus_probe.c        Thu May 14 11:50:04 2020 +0000
+++ b/sys/arch/xen/xenbus/xenbus_probe.c        Thu May 14 13:18:55 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xenbus_probe.c,v 1.53 2020/05/13 13:19:38 jdolecek Exp $ */
+/* $NetBSD: xenbus_probe.c,v 1.54 2020/05/14 13:18:55 jdolecek Exp $ */
 /******************************************************************************
  * Talks to Xen Store to figure out what devices we have.
  *
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xenbus_probe.c,v 1.53 2020/05/13 13:19:38 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xenbus_probe.c,v 1.54 2020/05/14 13:18:55 jdolecek Exp $");
 
 #if 0
 #define DPRINTK(fmt, args...) \
@@ -195,7 +195,7 @@
                return err;
        }
        DPRINTK("read_otherend_details: read %s/%s returned %s\n",
-           xendev->xbusd_path, path_node, val);
+           xendev->xbusd_path, path_node, xendev->xbusd_otherend);
 
        if (strlen(xendev->xbusd_otherend) == 0 ||
            !xenbus_exists(NULL, xendev->xbusd_otherend, "")) {
@@ -322,7 +322,7 @@
 
        DPRINTK("probe %s type %s", path, type);
        err = xenbus_directory(NULL, path, "", &orig_dir_n, &dir);
-       DPRINTK("directory err %d dir_n %d", err, dir_n);
+       DPRINTK("directory err %d dir_n %d", err, orig_dir_n);
        if (err)
                return err;
        dir_n = orig_dir_n;



Home | Main Index | Thread Index | Old Index