Run codespell on the entire codebase

This tool detects and fixes common English spelling mistakes, with
generally very few mistakes.

Here is the command I used to generate this commit.  There were a few
changes that had to be done manually, and of course adding the ignore
file:
```shell
codespell -I .codespell-ignore -x .codespell-ignore -w
```

I didn’t add it to the CI, but this would be a good place for it.
This commit is contained in:
Emmanuel Gil Peyrot 2020-07-22 20:54:06 +02:00 committed by Wim Taymans
parent 688a1ab082
commit 14fdf07e8f
56 changed files with 152 additions and 141 deletions

View file

@ -746,7 +746,7 @@ static int core_demarshal_destroy(void *object, const struct pw_protocol_native_
return pw_resource_notify(resource, struct pw_core_methods, destroy, 0, r);
no_resource:
pw_log_error("client %p: unknown resouce %u op:%u", client, id, msg->opcode);
pw_log_error("client %p: unknown resource %u op:%u", client, id, msg->opcode);
pw_resource_errorf(resource, -EINVAL, "unknown resource %d op:%u", id, msg->opcode);
return 0;
}