Skip to content

Fix spelling #116

Merged
merged 1 commit into from
Jan 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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