[libvirt] [PATCH] bhyve: fix error message in bhyveStateInitialize

Roman Bogorodskiy bogorodskiy at gmail.com
Tue Aug 12 16:01:30 UTC 2014


  Dmitry Guryanov wrote:

> If we failed to create BHYVE_STATE_DIR, we should show this
> path, not BHYVE_LOG_DIR.
> ---
>  src/bhyve/bhyve_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c
> index 135cb24..eb8f9af 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;
>      }

ACK, will push today.

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140812/d397914d/attachment-0001.sig>


More information about the libvir-list mailing list