rts: Fix reference to NUMA-specific field
authorBen Gamari <ben@smart-cactus.org>
Sun, 18 Sep 2016 17:11:52 +0000 (13:11 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sun, 18 Sep 2016 17:11:52 +0000 (13:11 -0400)
This snuck into c51caafae7669d4246f4efd3d1a6858020780e02.

rts/ProfHeap.c

index 29fda5a..929b4fc 100644 (file)
@@ -386,7 +386,7 @@ initHeapProfiling(void)
     }
 #ifdef THREADED_RTS
     // See Trac #12019.
-    if (doingLDVProfiling() && RtsFlags.ParFlags.nCapabilities > 1) {
+    if (doingLDVProfiling() && RtsFlags.ParFlags.nNodes > 1) {
         errorBelch("-hb cannot be used with multiple capabilities");
         stg_exit(EXIT_FAILURE);
     }