contigmem fix error path
This commit is contained in:
parent
4f93dbc0c0
commit
ce2e4ce798
@ -196,9 +196,9 @@ contigmem_load()
|
||||
contigmem_nodecnt = vm_ndomains;
|
||||
|
||||
if (contigmem_nodecnt > CONTIGMEM_MAX_NODECNT) {
|
||||
printf("contigmem_load: too many NUMA nodes detected: %d\n", contigmem_nodecnt);
|
||||
printf("contigmem_load: too many NUMA nodes detected: %d > %d\n", contigmem_nodecnt, CONTIGMEM_MAX_NODECNT);
|
||||
error = EINVAL;
|
||||
goto error;
|
||||
return error;
|
||||
}
|
||||
|
||||
DBGPRINT("contigmem_load: detected %d vmdomain\n", contigmem_nodecnt);
|
||||
|
Loading…
Reference in New Issue
Block a user