xenstore: don't print an error when gntdev cannot be opened
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 23 Jul 2012 12:09:44 +0000 (13:09 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Mon, 23 Jul 2012 12:09:44 +0000 (13:09 +0100)
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 <roger.pau@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_private.c

index 3ceed3e66092f9ccc75e2ea8ba08a33f3fa2a4fd..3e03a91fba8e6f6e307cdeb25877dc4c7fd450c6 100644 (file)
@@ -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;
         }