From 6b730ce792f82d724eb39e53d8c10b0cc46db37b Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Fri, 11 Nov 2005 16:30:24 +0000
Subject: [PATCH] fixed for non-bgl systems.

---
 src/partition_allocator/partition_allocator.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/partition_allocator/partition_allocator.c b/src/partition_allocator/partition_allocator.c
index 2903c60efcb..0dab605a603 100644
--- a/src/partition_allocator/partition_allocator.c
+++ b/src/partition_allocator/partition_allocator.c
@@ -1988,9 +1988,9 @@ start_again:
 		       x);
 	new_node:
 		debug("starting at %d%d%d",
-		      start[X],
+		      start[X]
 #ifdef HAVE_BGL
-		      start[Y],
+		      , start[Y],
 		      start[Z]
 #endif
 			);
@@ -3115,8 +3115,9 @@ static int _find_next_free_using_port_2(pa_switch_t *curr_switch,
 		if(node_tar[X] == pa_node->coord[X] 
 #ifdef HAVE_BGL
 		   && node_tar[Y] == pa_node->coord[Y] 
-		   && node_tar[Z] == pa_node->coord[Z]) 
+		   && node_tar[Z] == pa_node->coord[Z] 
 #endif
+			)
 		{
 			broke = 1;
 			break;
-- 
GitLab