From b152ff4c1e74b3a3d8a78392a0653953778a7dd0 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Thu, 1 Jun 2023 17:41:35 -0600 Subject: [PATCH] makefs: Fix typos Signed-off-by: Elyes Haouas Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653 --- usr.sbin/makefs/mtree.c | 4 ++-- 1 file 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);