From adb66cdb9ae514202141e9b4923eec818f0f42dd Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 6 Jun 2004 19:39:53 +0000 Subject: [PATCH] Preparations for the ICM nodelist flag (FSP-1033) --- lib/nodelist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)