提交 aad6e85f 编写于 作者: D Dmitry Guryanov 提交者: Roman Bogorodskiy

bhyve: fix error message in bhyveStateInitialize

If we failed to create BHYVE_STATE_DIR, we should show this
path, not BHYVE_LOG_DIR.
上级 bf4cbe40
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册