From b94972ecb554817760b93b9c9170480f8f51938b Mon Sep 17 00:00:00 2001
From: Nicolas Joly <njoly@pasteur.fr>
Date: Fri, 17 Jul 2015 08:19:20 -0700
Subject: [PATCH] Small typo fix.

---
 contribs/perlapi/libslurm/perl/lib/Slurm/Constant.pm | 2 +-
 slurm/slurm_errno.h                                  | 2 +-
 src/api/pmi_server.c                                 | 2 +-
 src/api/slurm_pmi.c                                  | 4 ++--
 src/common/slurm_errno.c                             | 4 ++--
 src/plugins/sched/wiki/msg.c                         | 2 +-
 src/plugins/sched/wiki/msg.h                         | 2 +-
 src/plugins/sched/wiki2/msg.c                        | 2 +-
 src/plugins/sched/wiki2/msg.h                        | 2 +-
 src/plugins/slurmctld/dynalloc/msg.c                 | 2 +-
 src/plugins/slurmctld/dynalloc/msg.h                 | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/contribs/perlapi/libslurm/perl/lib/Slurm/Constant.pm b/contribs/perlapi/libslurm/perl/lib/Slurm/Constant.pm
index 3208e6ed6cd..2ddcda67e3b 100644
--- a/contribs/perlapi/libslurm/perl/lib/Slurm/Constant.pm
+++ b/contribs/perlapi/libslurm/perl/lib/Slurm/Constant.pm
@@ -944,7 +944,7 @@ head2 SLURM ERRNO
 
 =back
 
-=head3 _info.c/communcation layer RESPONSE_SLURM_RC message codes
+=head3 _info.c/communication layer RESPONSE_SLURM_RC message codes
 
 =over 2
 
diff --git a/slurm/slurm_errno.h b/slurm/slurm_errno.h
index 210b5de397f..a5b86ca8ad1 100644
--- a/slurm/slurm_errno.h
+++ b/slurm/slurm_errno.h
@@ -107,7 +107,7 @@ enum {
 	SLURMCTLD_COMMUNICATIONS_RECEIVE_ERROR,
 	SLURMCTLD_COMMUNICATIONS_SHUTDOWN_ERROR,
 
-	/* _info.c/communcation layer RESPONSE_SLURM_RC message codes */
+	/* _info.c/communication layer RESPONSE_SLURM_RC message codes */
 	SLURM_NO_CHANGE_IN_DATA =			1900,
 
 	/* slurmctld error codes */
diff --git a/src/api/pmi_server.c b/src/api/pmi_server.c
index 48b1b3db8c3..b54555efec3 100644
--- a/src/api/pmi_server.c
+++ b/src/api/pmi_server.c
@@ -66,7 +66,7 @@ static int pmi_kvs_no_dup_keys = 1;
 struct barrier_resp {
 	uint16_t port;
 	char *hostname;
-};				/* details for barrier task communcations */
+};				/* details for barrier task communications */
 struct barrier_resp *barrier_ptr = NULL;
 uint32_t barrier_resp_cnt = 0;	/* tasks having reached barrier */
 uint32_t barrier_cnt = 0;	/* tasks needing to reach barrier */
diff --git a/src/api/slurm_pmi.c b/src/api/slurm_pmi.c
index faeaf35b5ac..a38f75e0638 100644
--- a/src/api/slurm_pmi.c
+++ b/src/api/slurm_pmi.c
@@ -181,7 +181,7 @@ int slurm_send_kvs_comm_set(struct kvs_comm_set *kvs_set_ptr,
 	msg_send.msg_type = PMI_KVS_PUT_REQ;
 	msg_send.data = (void *) kvs_set_ptr;
 
-	/* Send the RPC to the local srun communcation manager.
+	/* Send the RPC to the local srun communication manager.
 	 * Since the srun can be sent thousands of messages at
 	 * the same time and refuse some connections, retry as
 	 * needed. Spread out messages by task's rank. Also
@@ -264,7 +264,7 @@ int  slurm_get_kvs_comm_set(struct kvs_comm_set **kvs_set_ptr,
 	msg_send.msg_type = PMI_KVS_GET_REQ;
 	msg_send.data = &data;
 
-	/* Send the RPC to the local srun communcation manager.
+	/* Send the RPC to the local srun communication manager.
 	 * Since the srun can be sent thousands of messages at
 	 * the same time and refuse some connections, retry as
 	 * needed. Wait until all key-pairs have been sent by
diff --git a/src/common/slurm_errno.c b/src/common/slurm_errno.c
index a3038f17d01..671ad3189df 100644
--- a/src/common/slurm_errno.c
+++ b/src/common/slurm_errno.c
@@ -108,7 +108,7 @@ static slurm_errtab_t slurm_errtab[] = {
 	{ SLURMCTLD_COMMUNICATIONS_SHUTDOWN_ERROR,
 	  "Unable to contact slurm controller (shutdown failure)"},
 
-	/* _info.c/communcation layer RESPONSE_SLURM_RC message codes */
+	/* _info.c/communication layer RESPONSE_SLURM_RC message codes */
 
 	{ SLURM_NO_CHANGE_IN_DATA,	/* Not really an error */
 	  "Data has not changed since time specified"		},
@@ -371,7 +371,7 @@ static slurm_errtab_t slurm_errtab[] = {
 	{ ESCRIPT_CHDIR_FAILED,
 	  "unable to change directory to work directory"	},
 	{ ESCRIPT_OPEN_OUTPUT_FAILED,
-	  "cound not open output file"			        },
+	  "could not open output file"			        },
 	{ ESCRIPT_NON_ZERO_RETURN,
 	  "Script terminated with non-zero exit code"		},
 
diff --git a/src/plugins/sched/wiki/msg.c b/src/plugins/sched/wiki/msg.c
index 5879c93b52c..4541d5573af 100644
--- a/src/plugins/sched/wiki/msg.c
+++ b/src/plugins/sched/wiki/msg.c
@@ -1,5 +1,5 @@
 /*****************************************************************************\
- *  msg.c - Message/communcation manager for Wiki plugin
+ *  msg.c - Message/communication manager for Wiki plugin
  *****************************************************************************
  *  Copyright (C) 2006-2007 The Regents of the University of California.
  *  Copyright (C) 2008-2009 Lawrence Livermore National Security.
diff --git a/src/plugins/sched/wiki/msg.h b/src/plugins/sched/wiki/msg.h
index 40707279b3e..9d81afbfdc7 100644
--- a/src/plugins/sched/wiki/msg.h
+++ b/src/plugins/sched/wiki/msg.h
@@ -1,5 +1,5 @@
 /*****************************************************************************\
- *  msg.h - Message/communcation manager for Wiki plugin
+ *  msg.h - Message/communication manager for Wiki plugin
  *****************************************************************************
  *  Copyright (C) 2006 The Regents of the University of California.
  *  Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
diff --git a/src/plugins/sched/wiki2/msg.c b/src/plugins/sched/wiki2/msg.c
index 26429bbd0ed..0bf7cc5b460 100644
--- a/src/plugins/sched/wiki2/msg.c
+++ b/src/plugins/sched/wiki2/msg.c
@@ -1,5 +1,5 @@
 /*****************************************************************************\
- *  msg.c - Message/communcation manager for Wiki plugin
+ *  msg.c - Message/communication manager for Wiki plugin
  *****************************************************************************
  *  Copyright (C) 2006-2007 The Regents of the University of California.
  *  Copyright (C) 2008-2009 Lawrence Livermore National Security.
diff --git a/src/plugins/sched/wiki2/msg.h b/src/plugins/sched/wiki2/msg.h
index 0479064f206..0d77179d2f2 100644
--- a/src/plugins/sched/wiki2/msg.h
+++ b/src/plugins/sched/wiki2/msg.h
@@ -1,5 +1,5 @@
 /*****************************************************************************\
- *  msg.h - Message/communcation manager for Wiki plugin
+ *  msg.h - Message/communication manager for Wiki plugin
  *****************************************************************************
  *  Copyright (C) 2006-2007 The Regents of the University of California.
  *  Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
diff --git a/src/plugins/slurmctld/dynalloc/msg.c b/src/plugins/slurmctld/dynalloc/msg.c
index 6c01cb0923d..6cabdd737f1 100644
--- a/src/plugins/slurmctld/dynalloc/msg.c
+++ b/src/plugins/slurmctld/dynalloc/msg.c
@@ -1,5 +1,5 @@
 /*****************************************************************************\
- *  msg.c - Message/communcation manager for dynalloc (resource dynamic
+ *  msg.c - Message/communication manager for dynalloc (resource dynamic
  *  allocation) plugin
  *****************************************************************************
  *  Copyright (C) 2012-2013 Los Alamos National Security, LLC.
diff --git a/src/plugins/slurmctld/dynalloc/msg.h b/src/plugins/slurmctld/dynalloc/msg.h
index 08961759334..ac7edf1db43 100644
--- a/src/plugins/slurmctld/dynalloc/msg.h
+++ b/src/plugins/slurmctld/dynalloc/msg.h
@@ -1,5 +1,5 @@
 /*****************************************************************************\
- *  msg.h - Message/communcation manager for dynalloc (resource dynamic allocation) plugin
+ *  msg.h - Message/communication manager for dynalloc (resource dynamic allocation) plugin
  *****************************************************************************
  *  Copyright (C) 2012-2013 Los Alamos National Security, LLC.
  *  Written by Jimmy Cao <Jimmy.Cao@emc.com>, Ralph Castain <rhc@open-mpi.org>
-- 
GitLab