From: Ian Campbell Subject: Re: [PATCH 1/9] xenstore: don't print an error when gntdev cannot be opened Date: Mon, 23 Jul 2012 12:42:35 +0100 Message-ID: <1343043755.5797.6.camel@zakaz.uk.xensource.com> References: <1342002232-75531-1-git-send-email-roger.pau@citrix.com> <1342002232-75531-2-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1342002232-75531-2-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-07-11 at 11:23 +0100, Roger Pau Monne wrote: > NetBSD doesn't have a gntdev, but we should not print an error when > falling back to the previous implementation. > > Signed-off-by: Roger Pau Monne Seems reasonable. Acked-by: Ian Campbell > --- > tools/libxc/xc_private.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tools/libxc/xc_private.c b/tools/libxc/xc_private.c > index 3ceed3e..3e03a91 100644 > --- a/tools/libxc/xc_private.c > +++ b/tools/libxc/xc_private.c > @@ -174,7 +174,7 @@ static struct xc_interface_core *xc_interface_open_common(xentoollog_logger *log > xch->ops = xch->osdep.init(xch, type); > if ( xch->ops == NULL ) > { > - ERROR("OSDEP: interface %d (%s) not supported on this platform", > + DPRINTF("OSDEP: interface %d (%s) not supported on this platform", > type, xc_osdep_type_name(type)); > goto err_put_iface; > }