diff --git a/src/common/slurm_protocol_api.c b/src/common/slurm_protocol_api.c index c9cfafa0bd7a3b97a6fecb9dd060084d8fa5b88a..33a554b7b0edbec30db97fa0cb999379f1799c02 100644 --- a/src/common/slurm_protocol_api.c +++ b/src/common/slurm_protocol_api.c @@ -5309,7 +5309,7 @@ int sock_bind_range(int s, uint16_t *range, bool local) --count; } while (count > 0); - error("%s: ohmygosh all ports in range (%d, %d) exhausted", + error("%s: all ports in range (%u, %u) exhausted, cannot establish listening port", __func__, min, max); return -1; diff --git a/testsuite/expect/test1.99 b/testsuite/expect/test1.99 index 85de698ad8bb401fcd9cec192b5c3723d00486b5..e353ee6ee0ed90dc626d75c07e1c6c79f004e0ff 100755 --- a/testsuite/expect/test1.99 +++ b/testsuite/expect/test1.99 @@ -199,7 +199,7 @@ wait_for_job $tmp_id RUNNING set match 0 spawn $srun -t1 sleep 10 expect { - -re "ohmygosh all ports in range" { + -re "all ports in range" { set match 1 send_user "\nThis error is expected, do not worry\n" exp_continue