From a27ebcd8c314888ad87dfa078a25563c151c3c76 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Sun, 24 Mar 2024 14:10:04 +1300 Subject: [PATCH] fs: fix dirname documentation --- lfs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lfs.c b/lfs.c index a242032..55575bb 100644 --- a/lfs.c +++ b/lfs.c @@ -169,12 +169,12 @@ finish: } /*** - * Returns the parent directory of the pathn - * given. Any trailing '/' characters are not - * counted as part of the directory name. - * If the given path is an empty string or contains - * no '/' characters, the string `"."` is returned, - * signifying the current directory. + * Returns the parent directory of the pathname given. + * + * Any trailing '/' characters are not counted + * as part of the directory name. If the given path is + * an empty string or contains no '/' characters, the string + * `"."` is returned. * * This is purely a string manipulation function and * depends on no outside state.