Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix spelling mistakes found by codespell 2.0.0
Exception: (UVM global queu)

> comm is 16 bytes (including the \0), so 15 characters. So as an
> example of /proc/stat, this was actually right :-)
  • Loading branch information
pmenzel committed Dec 17, 2021
1 parent 7c86fbc commit 03bd205
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -62,7 +62,7 @@ Those features may not be tested for every situation yet and may result
in database corruption and/or failing jobs.

#### changed `mxqd` default options
In devolopment builds `--no-log` is default (enable loggin with `--log`)
In devolopment builds `--no-log` is default (enable logging with `--log`)

#### Development database access
Devolopment builds default to use `[mxqdevel]` groups from mysql config files
Expand Down
2 changes: 1 addition & 1 deletion mx_getopt.c
Expand Up @@ -94,7 +94,7 @@ static int find_long_option_by_name(struct mx_option *options, char *name, char
if(strncmp(name, options[i].long_opt, options[i]._long_len) != 0)
continue;

/* if --long-name matches completly we are done */
/* if --long-name matches completely we are done */
if(name[options[i]._long_len] == '\0')
return i;

Expand Down
4 changes: 2 additions & 2 deletions mxqadmin.c
Expand Up @@ -171,7 +171,7 @@ int _close_group_for_user(struct mx_mysql *mysql, uint64_t group_id, uint64_t us

assert(res == 1);

mx_log_notice("closing group %lu succeded.", group_id);
mx_log_notice("closing group %lu succeeded.", group_id);
return 0;
}

Expand All @@ -194,7 +194,7 @@ int _reopen_group_for_user(struct mx_mysql *mysql, uint64_t group_id, uint64_t u

assert(res == 1);

mx_log_notice("opening group %lu succeded.", group_id);
mx_log_notice("opening group %lu succeeded.", group_id);
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion mxqd.c
Expand Up @@ -1545,7 +1545,7 @@ long start_user_with_least_running_global_slot_count(struct mxq_server *server)
* only had enough free resources.
* If so, set a flag that we don't start jobs for following users, if they already got their
* fair share.
* Note, that glist->jobs_max ist the maximum number of jobs we are able to run, if we had
* Note, that glist->jobs_max is the maximum number of jobs we are able to run, if we had
* free resources and is 0 for jobs, we are not able to run at all.
* */
for (glist = ulist->groups; glist; glist = glist->next) {
Expand Down
2 changes: 1 addition & 1 deletion mxqsub.c
Expand Up @@ -949,7 +949,7 @@ int main(int argc, char *argv[])
exit(EX_CONFIG);
}
if (optctl.optarg[0] != '/') {
mx_log_crit("--workdir '%s': workdir is a relativ path. please use absolute path.",
mx_log_crit("--workdir '%s': workdir is a relative path. please use absolute path.",
optctl.optarg);
exit(EX_CONFIG);
}
Expand Down

0 comments on commit 03bd205

Please sign in to comment.