aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-06-01 23:41:35 +0000
committerWarner Losh <imp@FreeBSD.org>2023-06-02 02:33:41 +0000
commitb152ff4c1e74b3a3d8a78392a0653953778a7dd0 (patch)
tree59983ca821ef2795417acc78397ea1c35bf27e4f
parent1e95a9a41c21fee3197bf3676e1f3a0c5075d82f (diff)
downloadsrc-b152ff4c1e74b3a3d8a78392a0653953778a7dd0.tar.gz
src-b152ff4c1e74b3a3d8a78392a0653953778a7dd0.zip
makefs: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653
-rw-r--r--usr.sbin/makefs/mtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/makefs/mtree.c b/usr.sbin/makefs/mtree.c
index d3279f48c6ba..d1d300261a1e 100644
--- a/usr.sbin/makefs/mtree.c
+++ b/usr.sbin/makefs/mtree.c
@@ -836,7 +836,7 @@ read_mtree_spec1(FILE *fp, bool def, const char *name)
* not the '.' node of the parent directory, but the directory
* node within the parent to which the child relates. However,
* going up a directory means we need to find the '.' node to
- * which the directoy node is linked. This we can do via the
+ * which the directory node is linked. This we can do via the
* first * pointer, because '.' is always the first entry in a
* directory.
*/
@@ -1016,7 +1016,7 @@ read_mtree_spec(FILE *fp)
}
}
- /* Ignore absolute specfications that end with a slash. */
+ /* Ignore absolute specifications that end with a slash. */
if (!error && pathspec[0] != '\0')
error = read_mtree_spec1(fp, true, pathspec);