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:
parent
bf4cbe4094
commit
aad6e85f25
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user