fix: correct typos and improve comments across multiple files by codespell (#4116)

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2025-03-07 08:21:54 +08:00
committed by GitHub
parent 73998e4c85
commit 412631ac13
108 changed files with 215 additions and 215 deletions

View File

@ -153,7 +153,7 @@ enclave_init(sgx_enclave_id_t *p_eid)
return 0;
}
/* reopen the file with write capablity */
/* reopen the file with write capability */
fp = freopen(token_path, "wb", fp);
if (fp == NULL)
return 0;
@ -228,7 +228,7 @@ print_help()
printf(" to the program, for example:\n");
printf(" --dir=<dir1> --dir=<dir2>\n");
printf(" --addr-pool= Grant wasi access to the given network addresses in\n");
printf(" CIDR notation to the program, seperated with ',',\n");
printf(" CIDR notation to the program, separated with ',',\n");
printf(" for example:\n");
printf(" --addr-pool=1.2.3.4/15,2.3.4.5/16\n");
printf(" --max-threads=n Set maximum thread number per cluster, default is 4\n");

View File

@ -67,7 +67,7 @@ struct wamr_pal_create_process_args {
// Mandatory field. Must not be NULL.
const char *path;
// Argments array pass to new process.
// Arguments array pass to new process.
//
// The arguments to the command. By convention, the argv[0] should be the
// program name. And the last element of the array must be NULL to indicate