diff --git a/src/common/gres.c b/src/common/gres.c
index de73c59dd4e982576976d26edce681f6a4155fe8..4df652b71ee61ec56f171c94a317e5ce995ecf6d 100644
--- a/src/common/gres.c
+++ b/src/common/gres.c
@@ -3051,7 +3051,7 @@ extern int gres_plugin_job_state_validate(char **req_config, List *gres_list)
 				break;
 			}
 			if (new_req_config != NULL)
-			    xstrcat(new_req_config, ",");
+				xstrcat(new_req_config, ",");
 			xstrcat(new_req_config, tok);
 			gres_ptr = xmalloc(sizeof(gres_state_t));
 			gres_ptr->plugin_id = gres_context[i].plugin_id;