From 5a45503c8a016b5418566219e4d405e8132dc58d Mon Sep 17 00:00:00 2001 From: Gennaro Oliva <oliva.g@na.icar.cnr.it> Date: Tue, 19 Jul 2016 09:29:58 -0700 Subject: [PATCH] Fix some typos in comments and logs --- contribs/perlapi/libslurm/perl/lib/Slurm.pm | 4 ++-- src/common/plugstack.c | 2 +- src/sacctmgr/account_functions.c | 2 +- src/sacctmgr/user_functions.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contribs/perlapi/libslurm/perl/lib/Slurm.pm b/contribs/perlapi/libslurm/perl/lib/Slurm.pm index e23a32f5f39..62da77a5196 100644 --- a/contribs/perlapi/libslurm/perl/lib/Slurm.pm +++ b/contribs/perlapi/libslurm/perl/lib/Slurm.pm @@ -371,7 +371,7 @@ Allocate resources for a job request. If the requested resources are not immedia =over 2 -=item * IN $job_desc: description of resource allocation request, with sturcture of C<job_desc_msg_t>. +=item * IN $job_desc: description of resource allocation request, with structure of C<job_desc_msg_t>. =item * RET: response to request, with structure of C<resource_allocation_response_msg_t>. This only represents a job allocation if resources are immediately available. Otherwise it just contains the job id of the enqueued job request. On failure C<undef> is returned. @@ -383,7 +383,7 @@ Allocate resources for a job request. This call will block until the allocation =over 2 -=item * IN $job_desc: description of resource allocation request, with sturcture of C<job_desc_msg_t>. +=item * IN $job_desc: description of resource allocation request, with structure of C<job_desc_msg_t>. =item * IN $timeout: amount of time, in seconds, to wait for a response before giving up. A timeout of zero will wait indefinitely. diff --git a/src/common/plugstack.c b/src/common/plugstack.c index afd7d6e3e2c..b9aa6121968 100644 --- a/src/common/plugstack.c +++ b/src/common/plugstack.c @@ -1088,7 +1088,7 @@ static int _add_one_option(struct option **optz, if (optz_add(optz, &opt) < 0) { if (errno == EEXIST) { - error ("Ingoring conflicting option \"%s\" " + error ("Ignoring conflicting option \"%s\" " "in plugin \"%s\"", opt.name, spopt->plugin->name); } else { diff --git a/src/sacctmgr/account_functions.c b/src/sacctmgr/account_functions.c index c8a58452407..b489f40a4ac 100644 --- a/src/sacctmgr/account_functions.c +++ b/src/sacctmgr/account_functions.c @@ -718,7 +718,7 @@ extern int sacctmgr_list_account(int argc, char *argv[]) } if (!acct_cond->with_assocs && cond_set > 1) { - if (!commit_check("You requested options that are only vaild " + if (!commit_check("You requested options that are only valid " "when querying with the withassoc option.\n" "Are you sure you want to continue?")) { printf("Aborted\n"); diff --git a/src/sacctmgr/user_functions.c b/src/sacctmgr/user_functions.c index 5fadb3ee422..d90eea82aac 100644 --- a/src/sacctmgr/user_functions.c +++ b/src/sacctmgr/user_functions.c @@ -1418,7 +1418,7 @@ extern int sacctmgr_list_user(int argc, char *argv[]) } if (!user_cond->with_assocs && cond_set > 1) { - if (!commit_check("You requested options that are only vaild " + if (!commit_check("You requested options that are only valid " "when querying with the withassoc option.\n" "Are you sure you want to continue?")) { printf("Aborted\n"); -- GitLab