diff --git a/src/salloc/opt.h b/src/salloc/opt.h index 450897a1709d67e66edae82c373943f070e92aef..7a1d660ecee356860dfbcff6b5dba118e7abf033 100644 --- a/src/salloc/opt.h +++ b/src/salloc/opt.h @@ -178,7 +178,7 @@ typedef struct salloc_options { extern opt_t opt; extern int error_exit; /* exit code for slurm errors */ -extern int immediate_exit; /* exit code for --imediate option & busy */ +extern int immediate_exit; /* exit code for --immediate option & busy */ /* process options: * 1. set defaults diff --git a/src/slurmd/slurmd/slurmd.c b/src/slurmd/slurmd/slurmd.c index a793308e12d92cb92f3d1ee8b62ad0a934dcf454..e032aa30db22ea4526e1b16974d245560f7b2f45 100644 --- a/src/slurmd/slurmd/slurmd.c +++ b/src/slurmd/slurmd/slurmd.c @@ -366,7 +366,7 @@ main (int argc, char **argv) if (slurmd_plugstack_init()) fatal("failed to initialize slurmd_plugstack"); - /* Wait for a successfull health check if HealthCheckInterval != 0 */ + /* Wait for a successful health check if HealthCheckInterval != 0 */ _wait_health_check(); _spawn_registration_engine(); @@ -2359,7 +2359,7 @@ static void _resource_spec_fini(void) /* * Wait for health check to execute successfully * - * Return imediately if a shutdown has been requested or + * Return immediately if a shutdown has been requested or * if the HealthCheckInterval is 0. */ static void _wait_health_check(void) diff --git a/src/srun/libsrun/opt.h b/src/srun/libsrun/opt.h index 2740d3951ac9b813321d5c34a46bf213ceccb320..2e5e1e64ac1564e43cb555eb89acb6fc9e69cc07 100644 --- a/src/srun/libsrun/opt.h +++ b/src/srun/libsrun/opt.h @@ -248,7 +248,7 @@ typedef struct srun_options { extern opt_t opt; extern int error_exit; /* exit code for slurm errors */ -extern int immediate_exit; /* exit code for --imediate option & busy */ +extern int immediate_exit; /* exit code for --immediate option & busy */ extern bool srun_max_timer; extern bool srun_shutdown; extern time_t srun_begin_time; /* begin time of srun process */