mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Fix preprocessor indentation in nodeinfo.c
This commit is contained in:
parent
7e3205cd10
commit
d967a8bfa4
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user