diff --git a/lib/nodelist.c b/lib/nodelist.c index 664dce59..cfc449b5 100644 --- a/lib/nodelist.c +++ b/lib/nodelist.c @@ -1233,10 +1233,10 @@ unsigned long getCMmask(void) for (tmpm = &nl_online; *tmpm; tmpm=&((*tmpm)->next)) { if (strcmp("CM", (*tmpm)->name) == 0) { - mask &= (*tmpm)->value; + mask |= (*tmpm)->value; } if (strcmp("ICM", (*tmpm)->name) == 0) { - mask &= (*tmpm)->value; + mask |= (*tmpm)->value; } } if (mask)