git: d35e1c29a9bb - main - aic7xxx: Fix a few typos in comments and an error message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Jun 2022 14:50:11 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=d35e1c29a9bb5c2ed98a6d8df171b3b3c8439130
commit d35e1c29a9bb5c2ed98a6d8df171b3b3c8439130
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-06-04 14:49:53 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-06-04 14:49:53 +0000
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
---
sys/dev/aic7xxx/aicasm/aicasm.c | 8 ++++----
1 file 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));