[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Fix wrong indentation for virDomainState



On 10.01.2013 12:48, Claudio Bley wrote:
> 
> Signed-off-by: Claudio Bley <cbley 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]