git: dab5daf54cc2 - main - mtree: Fix typos
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Dec 2025 14:36:27 UTC
The branch main has been updated by jlduran:
URL: https://cgit.FreeBSD.org/src/commit/?id=dab5daf54cc26aaf2679a2eda5f378461f279ec5
commit dab5daf54cc26aaf2679a2eda5f378461f279ec5
Author: Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-12-09 13:18:23 +0000
Commit: Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-12-13 14:34:43 +0000
mtree: Fix typos
Manually apply a typo fix. This change has already been submitted
upstream as bin/59824.
MFC after: 1 week
---
contrib/mtree/compare.c | 2 +-
contrib/mtree/spec.c | 2 +-
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)