diff options
| author | Gordon Bergling <gbe@FreeBSD.org> | 2022-06-04 14:49:53 +0000 |
|---|---|---|
| committer | Gordon Bergling <gbe@FreeBSD.org> | 2022-06-10 12:38:45 +0000 |
| commit | 7e79087eabf3c083e64369ddf524b17fa5927f3c (patch) | |
| tree | 374af62486b4a24c334f9b55422d1fdf60bce7ff | |
| parent | 3eecab672f03e26c95e452215e87da14e1622f3d (diff) | |
aic7xxx: Fix a few typos in comments and an error message
- s/directrive/directive/
- s/specifiled/specified/
- s/Decend/Descend/
- s/tranversal/transversal/
Obtained from: NetBSD
(cherry picked from commit d35e1c29a9bb5c2ed98a6d8df171b3b3c8439130)
| -rw-r--r-- | sys/dev/aic7xxx/aicasm/aicasm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/aic7xxx/aicasm/aicasm.c b/sys/dev/aic7xxx/aicasm/aicasm.c index 776b5bfa583a..2156ae46e65f 100644 --- a/sys/dev/aic7xxx/aicasm/aicasm.c +++ b/sys/dev/aic7xxx/aicasm/aicasm.c @@ -175,7 +175,7 @@ main(int argc, char *argv[]) listfilename = optarg; break; case 'n': - /* Don't complain about the -nostdinc directrive */ + /* Don't complain about the -nostdinc directive */ if (strcmp(optarg, "ostdinc")) { fprintf(stderr, "%s: Unknown option -%c%s\n", appname, ch, optarg); @@ -257,7 +257,7 @@ main(int argc, char *argv[]) argv += optind; if (argc != 1) { - fprintf(stderr, "%s: No input file specifiled\n", appname); + fprintf(stderr, "%s: No input file specified\n", appname); usage(); /* NOTREACHED */ } @@ -284,9 +284,9 @@ main(int argc, char *argv[]) /* Process outmost scope */ process_scope(SLIST_FIRST(&scope_stack)); /* - * Decend the tree of scopes and insert/emit + * Descend the tree of scopes and insert/emit * patches as appropriate. We perform a depth first - * tranversal, recursively handling each scope. + * transversal, recursively handling each scope. */ /* start at the root scope */ dump_scope(SLIST_FIRST(&scope_stack)); |
