summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2025-12-09 13:18:23 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2025-12-13 14:34:43 +0000
commitdab5daf54cc26aaf2679a2eda5f378461f279ec5 (patch)
tree242f60300600e18cfe12a45eccdfc35cd01c41ef /contrib
parent49b6dda4d71175ad615718401573be5fd024822b (diff)
mtree: Fix typos
Manually apply a typo fix. This change has already been submitted upstream as bin/59824. MFC after: 1 week
Diffstat (limited to 'contrib')
-rw-r--r--contrib/mtree/compare.c2
-rw-r--r--contrib/mtree/spec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/mtree/compare.c b/contrib/mtree/compare.c
index c4e5bfcac1d7..3d8cf2335207 100644
--- a/contrib/mtree/compare.c
+++ b/contrib/mtree/compare.c
@@ -285,7 +285,7 @@ typeerr: LABEL;
LABEL;
printf(flavor == F_FREEBSD9 ?
- "%spermissions expcted %#lo found %#lo" :
+ "%spermissions expected %#lo found %#lo" :
"%spermissions (%#lo, %#lo",
tab, (u_long)s->st_mode,
(u_long)p->fts_statp->st_mode & MBITS);
diff --git a/contrib/mtree/spec.c b/contrib/mtree/spec.c
index 25bface34bd0..24e15f33fa8a 100644
--- a/contrib/mtree/spec.c
+++ b/contrib/mtree/spec.c
@@ -803,7 +803,7 @@ addchild(NODE *pathparent, NODE *centry)
*
* Make centry point to the just-replaced node. Unlink
* the just-replaced node from the list, and allow it to
- * be insterted in the correct position later.
+ * be inserted in the correct position later.
*/
centry = samename;
if (centry->prev)