diff options
author | Gordon Bergling <gbe@FreeBSD.org> | 2022-06-04 14:49:53 +0000 |
---|---|---|
committer | Gordon Bergling <gbe@FreeBSD.org> | 2022-06-04 14:49:53 +0000 |
commit | d35e1c29a9bb5c2ed98a6d8df171b3b3c8439130 (patch) | |
tree | 7e1c518917078e5310f71c2b0c6f480bc7167cde | |
parent | 45b143d2ea5fb0389304cc918781e98696a4b48f (diff) | |
download | src-d35e1c29a9bb5c2ed98a6d8df171b3b3c8439130.tar.gz src-d35e1c29a9bb5c2ed98a6d8df171b3b3c8439130.zip |
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
MFC after: 3 days
-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 913c15a1d0d4..5f2fbaa8b645 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)); |