From: Dmitry Guryanov Date: Tue, 12 Aug 2014 15:46:18 +0000 (+0400) Subject: bhyve: fix error message in bhyveStateInitialize X-Git-Tag: v1.2.8-rc1~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aad6e85f256c3af9cd903a5e7fd5500acb68f7c4;p=thirdparty%2Flibvirt.git bhyve: fix error message in bhyveStateInitialize If we failed to create BHYVE_STATE_DIR, we should show this path, not BHYVE_LOG_DIR. --- diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c index 135cb248ea..eb8f9afd38 100644 --- a/src/bhyve/bhyve_driver.c +++ b/src/bhyve/bhyve_driver.c @@ -1191,7 +1191,7 @@ bhyveStateInitialize(bool priveleged ATTRIBUTE_UNUSED, if (virFileMakePath(BHYVE_STATE_DIR) < 0) { virReportSystemError(errno, _("Failed to mkdir %s"), - BHYVE_LOG_DIR); + BHYVE_STATE_DIR); goto cleanup; }