[libvirt] [PATCH] Fix wrong indentation for virDomainState

Michal Privoznik mprivozn at redhat.com
Thu Jan 10 12:40:29 UTC 2013


On 10.01.2013 12:48, Claudio Bley wrote:
> 
> Signed-off-by: Claudio Bley <cbley at av-test.de>
> ---
> Pushing under the trivial rule.
> 
>  include/libvirt/libvirt.h.in |   18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
> index 09c89c5..d2640e1 100644
> --- a/include/libvirt/libvirt.h.in
> +++ b/include/libvirt/libvirt.h.in
> @@ -116,14 +116,14 @@ typedef virDomain *virDomainPtr;
>   * A domain may be in different states at a given point in time
>   */
>  typedef enum {
> -     VIR_DOMAIN_NOSTATE = 0,     /* no state */
> -     VIR_DOMAIN_RUNNING = 1,     /* the domain is running */
> -     VIR_DOMAIN_BLOCKED = 2,     /* the domain is blocked on resource */
> -     VIR_DOMAIN_PAUSED  = 3,     /* the domain is paused by user */
> -     VIR_DOMAIN_SHUTDOWN= 4,     /* the domain is being shut down */
> -     VIR_DOMAIN_SHUTOFF = 5,     /* the domain is shut off */
> -     VIR_DOMAIN_CRASHED = 6,     /* the domain is crashed */
> -     VIR_DOMAIN_PMSUSPENDED = 7, /* the domain is suspended by guest
> +    VIR_DOMAIN_NOSTATE = 0,     /* no state */
> +    VIR_DOMAIN_RUNNING = 1,     /* the domain is running */
> +    VIR_DOMAIN_BLOCKED = 2,     /* the domain is blocked on resource */
> +    VIR_DOMAIN_PAUSED  = 3,     /* the domain is paused by user */
> +    VIR_DOMAIN_SHUTDOWN= 4,     /* the domain is being shut down */
> +    VIR_DOMAIN_SHUTOFF = 5,     /* the domain is shut off */
> +    VIR_DOMAIN_CRASHED = 6,     /* the domain is crashed */
> +    VIR_DOMAIN_PMSUSPENDED = 7, /* the domain is suspended by guest
>                                      power management */

In fact the 'power management' line should be indented as well.

Michal




More information about the libvir-list mailing list