From 49a6be2c92fdb9eeb60d003ce8302c0b0bdb8ec7 Mon Sep 17 00:00:00 2001 From: Tim Wickberg <tim@schedmd.com> Date: Thu, 22 Jun 2017 11:44:31 -0400 Subject: [PATCH] Assorted spelling fixes in comments. --- src/salloc/opt.h | 2 +- src/slurmd/slurmd/slurmd.c | 4 ++-- src/srun/libsrun/opt.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/salloc/opt.h b/src/salloc/opt.h index 450897a1709..7a1d660ecee 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 a793308e12d..e032aa30db2 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 2740d3951ac..2e5e1e64ac1 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 */ -- GitLab