diff --git a/src/slurmctld/node_scheduler.c b/src/slurmctld/node_scheduler.c
index a525ae53ac776132f4a74c397e103510c9c6f4f1..d1ae5c78458e9f0bd121732478a0f9a56f0b6893 100644
--- a/src/slurmctld/node_scheduler.c
+++ b/src/slurmctld/node_scheduler.c
@@ -2027,8 +2027,8 @@ static int _build_node_list(struct job_record *job_ptr,
 			if (rc == ESLURM_INVALID_TIME_VALUE)
 				return ESLURM_RESERVATION_NOT_USABLE;
 
-            if (rc == ESLURM_NODES_BUSY)
-                return ESLURM_NODES_BUSY;
+			if (rc == ESLURM_NODES_BUSY)
+				return ESLURM_NODES_BUSY;
 
 			/* Defunct reservation or accesss denied */
 			return ESLURM_REQUESTED_NODE_CONFIG_UNAVAILABLE;