From: Matthias Bolte Date: Mon, 23 Nov 2009 22:26:31 +0000 (+0100) Subject: esx: Don't warn about '/' paths X-Git-Tag: v0.7.5~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5d8d265a2e430be316a26b6c975b14095de1b96;p=thirdparty%2Flibvirt.git esx: Don't warn about '/' paths --- diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c index db45b1b9d9..66fdf13a1b 100644 --- a/src/esx/esx_driver.c +++ b/src/esx/esx_driver.c @@ -293,7 +293,7 @@ esxOpen(virConnectPtr conn, virConnectAuthPtr auth, int flags ATTRIBUTE_UNUSED) return VIR_DRV_OPEN_DECLINED; } - if (conn->uri->path != NULL) { + if (conn->uri->path != NULL && STRNEQ(conn->uri->path, "/")) { VIR_WARN("Ignoring unexpected path '%s' in URI", conn->uri->path); }