From dca35a7e774a0ed04e1a4af466c92c380d845c0e Mon Sep 17 00:00:00 2001 From: bouyer Date: Tue, 16 Sep 2008 19:53:05 +0000 Subject: [PATCH] Fix typos and pasto, from Jean-Yves Migeon (jean-yves dot migeon at espci dot fr). Luckily this pasto is fatal only in case of a 64bit domU on a 32bit dom0, which we don't support yet as dom0. --- sys/arch/xen/xen/xbdback_xenbus.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/arch/xen/xen/xbdback_xenbus.c b/sys/arch/xen/xen/xbdback_xenbus.c index 8dc22974af88..7508494d7185 100644 --- a/sys/arch/xen/xen/xbdback_xenbus.c +++ b/sys/arch/xen/xen/xbdback_xenbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: xbdback_xenbus.c,v 1.18 2008/08/24 21:00:49 bouyer Exp $ */ +/* $NetBSD: xbdback_xenbus.c,v 1.19 2008/09/16 19:53:05 bouyer Exp $ */ /* * Copyright (c) 2006 Manuel Bouyer. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.18 2008/08/24 21:00:49 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.19 2008/09/16 19:53:05 bouyer Exp $"); #include #include @@ -485,7 +485,7 @@ xbdback_frontend_changed(void *arg, XenbusState new_state) proto = XEN_IO_PROTO_ABI_X86_32; } else if(strcmp(xsproto, XEN_IO_PROTO_ABI_X86_64) == 0) { xbdi->xbdi_proto = XBDIP_64; - proto = XEN_IO_PROTO_ABI_X86_32; + proto = XEN_IO_PROTO_ABI_X86_64; } else { printf("xbd domain %d: unknown proto %s\n", xbdi->xbdi_domid, xsproto); @@ -549,7 +549,7 @@ xbdback_frontend_changed(void *arg, XenbusState new_state) printf("blkback %s: can't get event channel: %d\n", xbusd->xbusd_otherend, err); xenbus_dev_fatal(xbusd, err, - "can't bind event chanel", xbusd->xbusd_otherend); + "can't bind event channel", xbusd->xbusd_otherend); goto err2; } xbdi->xbdi_evtchn = evop.u.bind_interdomain.local_port; @@ -643,7 +643,7 @@ xbdback_backend_changed(struct xenbus_watch *watch, major = major(xbdi->xbdi_dev); devname = devsw_blk2name(major); if (devname == NULL) { - printf("xbdback %s: unknwon device 0x%x\n", xbusd->xbusd_path, + printf("xbdback %s: unknown device 0x%x\n", xbusd->xbusd_path, xbdi->xbdi_dev); return; }