Skip to content

Commit d7459e8

Browse files
fix some typo in wamrc (#4807)
1 parent 733ac3f commit d7459e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wamr-compiler/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ print_help()
178178
printf(" A comma-separated list of features when generating call stacks.\n");
179179
printf(" By default, all features are enabled. To disable all features,\n");
180180
printf(" provide an empty list (i.e. --call-stack-features=). This flag\n");
181-
printf(" only only takes effect when --enable-dump-call-stack is set.\n");
181+
printf(" only takes effect when --enable-dump-call-stack is set.\n");
182182
printf(" Available features: bounds-checks, ip, func-idx, trap-ip, values.\n");
183183
printf(" --enable-perf-profiling Enable function performance profiling\n");
184184
printf(" --enable-memory-profiling Enable memory usage profiling\n");
@@ -246,15 +246,15 @@ print_help()
246246
* Based on: http://stackoverflow.com/a/11198630/471795
247247
*/
248248
static char **
249-
split_string(char *str, int *count, const char *delimer)
249+
split_string(char *str, int *count, const char *delimiter)
250250
{
251251
char **res = NULL, **res1;
252252
char *p;
253253
int idx = 0;
254254

255255
/* split string and append tokens to 'res' */
256256
do {
257-
p = strtok(str, delimer);
257+
p = strtok(str, delimiter);
258258
str = NULL;
259259
res1 = res;
260260
res = (char **)realloc(res1, sizeof(char *) * (uint32)(idx + 1));

0 commit comments

Comments
 (0)