1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-29 15:21:50 +03:00

bhyve: fix error message in bhyveStateInitialize

If we failed to create BHYVE_STATE_DIR, we should show this
path, not BHYVE_LOG_DIR.
This commit is contained in:
Dmitry Guryanov 2014-08-12 19:46:18 +04:00 committed by Roman Bogorodskiy
parent bf4cbe4094
commit aad6e85f25

View File

@ -1191,7 +1191,7 @@ bhyveStateInitialize(bool priveleged ATTRIBUTE_UNUSED,
if (virFileMakePath(BHYVE_STATE_DIR) < 0) { if (virFileMakePath(BHYVE_STATE_DIR) < 0) {
virReportSystemError(errno, virReportSystemError(errno,
_("Failed to mkdir %s"), _("Failed to mkdir %s"),
BHYVE_LOG_DIR); BHYVE_STATE_DIR);
goto cleanup; goto cleanup;
} }