[libvirt] [PATCH] Fix preprocessor indentation in nodeinfo.c

Matthias Bolte matthias.bolte at googlemail.com
Mon Jun 20 08:59:21 UTC 2011


2011/6/20 Wen Congyang <wency at cn.fujitsu.com>:
> At 06/20/2011 04:40 PM, Matthias Bolte Write:
>> ---
>>
>> I'm pushing this under the build breaker rule.
>>
>>  src/nodeinfo.c |   12 ++++++------
>>  1 files changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/src/nodeinfo.c b/src/nodeinfo.c
>> index c6dbb84..9e0f906 100644
>> --- a/src/nodeinfo.c
>> +++ b/src/nodeinfo.c
>> @@ -685,23 +685,23 @@ int nodeGetMemoryStats(virConnectPtr conn ATTRIBUTE_UNUSED,
>>                  return -1;
>>              }
>>          } else {
>> -#if HAVE_NUMACTL
>> +# if HAVE_NUMACTL
>
> I am surprised that this breaks building.
>
> I use gcc-4.4.4, and building is OK.
>
> Which tool do you use to build?

Well, "build breaker" as it breaks make syntax-check if you have cppi installed.

-- 
Matthias Bolte
http://photron.blogspot.com




More information about the libvir-list mailing list