1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00

conf: Reindent virDomainObjCheckActive

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Jiri Denemark 2018-04-18 11:40:37 +02:00
parent 49fb4769e1
commit 71872d8224

View File

@ -6001,9 +6001,9 @@ int
virDomainObjCheckActive(virDomainObjPtr dom) virDomainObjCheckActive(virDomainObjPtr dom)
{ {
if (!virDomainObjIsActive(dom)) { if (!virDomainObjIsActive(dom)) {
virReportError(VIR_ERR_OPERATION_INVALID, virReportError(VIR_ERR_OPERATION_INVALID,
"%s", _("domain is not running")); "%s", _("domain is not running"));
return -1; return -1;
} }
return 0; return 0;
} }