From: Matthias Bolte Date: Mon, 20 Jun 2011 08:39:09 +0000 (+0200) Subject: Fix preprocessor indentation in nodeinfo.c X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d967a8bfa4c560cf2327541be8f5e83c0b8cf602;p=libvirt.git Fix preprocessor indentation in nodeinfo.c --- diff --git a/src/nodeinfo.c b/src/nodeinfo.c index c6dbb84b91..9e0f9069df 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 if (numa_available() < 0) { -#endif +# endif nodeReportError(VIR_ERR_NO_SUPPORT, "%s", _("NUMA not supported on this host")); return -1; -#if HAVE_NUMACTL +# if HAVE_NUMACTL } -#endif +# endif -#if HAVE_NUMACTL +# if HAVE_NUMACTL if (cellNum > numa_max_node()) { nodeReportError(VIR_ERR_INVALID_ARG, "%s", _("Invalid cell number")); return -1; } -#endif +# endif if (virAsprintf(&meminfo_path, "%s/node%d/meminfo", NODE_SYS_PATH, cellNum) < 0) {