Updated racially charged language in messages and comments.

This commit is contained in:
Artem Konev
2020-09-18 11:46:15 +01:00
parent f16ae01b12
commit 8ee96c224a
2 changed files with 4 additions and 4 deletions

View File

@@ -740,7 +740,7 @@ nxt_isolation_pivot_root(nxt_task_t *task, const char *path)
*/ */
if (nxt_slow_path(mount("", "/", "", MS_SLAVE|MS_REC, "") != 0)) { if (nxt_slow_path(mount("", "/", "", MS_SLAVE|MS_REC, "") != 0)) {
nxt_alert(task, "failed to make / a slave mount %E", nxt_errno); nxt_alert(task, "mount(\"/\", MS_SLAVE|MS_REC) failed: %E", nxt_errno);
return NXT_ERROR; return NXT_ERROR;
} }
@@ -764,8 +764,8 @@ nxt_isolation_pivot_root(nxt_task_t *task, const char *path)
} }
/* /*
* Make oldroot a slave mount to avoid unmounts getting propagated to the * Demote the oldroot mount to avoid unmounts getting propagated to
* host. * the host.
*/ */
if (nxt_slow_path(mount("", ".", "", MS_SLAVE | MS_REC, NULL) != 0)) { if (nxt_slow_path(mount("", ".", "", MS_SLAVE | MS_REC, NULL) != 0)) {
nxt_alert(task, "failed to bind mount rootfs %E", nxt_errno); nxt_alert(task, "failed to bind mount rootfs %E", nxt_errno);

View File

@@ -187,7 +187,7 @@ struct nxt_unit_read_info_s {
/* /*
* Initialize Unit application library with necessary callbacks and * Initialize Unit application library with necessary callbacks and
* ready/reply port parameters, send 'READY' response to master. * ready/reply port parameters, send 'READY' response to main.
*/ */
nxt_unit_ctx_t *nxt_unit_init(nxt_unit_init_t *); nxt_unit_ctx_t *nxt_unit_init(nxt_unit_init_t *);