From 0c171337dbeabf60988a2d0a0bea4b6b583fe310 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Thu, 15 Dec 2005 22:45:47 +0000 Subject: [PATCH] Minor change in formatting, no change in logic. --- src/plugins/select/bluegene/plugin/bg_job_place.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/select/bluegene/plugin/bg_job_place.c b/src/plugins/select/bluegene/plugin/bg_job_place.c index 2b12373773c..dc682e15e91 100644 --- a/src/plugins/select/bluegene/plugin/bg_job_place.c +++ b/src/plugins/select/bluegene/plugin/bg_job_place.c @@ -113,7 +113,7 @@ static int _find_best_block_match(struct job_record* job_ptr, just not right now. */ slurm_mutex_lock(&block_state_mutex); - if((full_system_block->job_running != -1) && checked<2) { + if((full_system_block->job_running != -1) && (checked < 2)) { checked++; slurm_mutex_unlock(&block_state_mutex); select_g_set_jobinfo(job_ptr->select_jobinfo, @@ -152,7 +152,7 @@ static int _find_best_block_match(struct job_record* job_ptr, */ slurm_mutex_lock(&block_state_mutex); debug3("job_running = %d", record->job_running); - if((record->job_running != -1) && checked<2) { + if((record->job_running != -1) && (checked < 2)) { job_running++; debug("block %s in use by %s", record->bg_block_id, -- GitLab