]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Fix typos
authorVolker Lendecke <vl@samba.org>
Thu, 5 Dec 2024 10:38:51 +0000 (11:38 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 17 Dec 2024 12:30:31 +0000 (12:30 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
source3/smbd/close.c
source3/smbd/dir.c

index 16356a07cc31c792b51b467804ac19ebe3257f6e..6f26331509f8d6480854ad1d420ecc8b61aa5c7f 100644 (file)
@@ -1179,7 +1179,7 @@ static NTSTATUS rmdir_internals(TALLOC_CTX *ctx, struct files_struct *fsp)
        }
 
        /*
-        * Check to see if the only thing in this directory are
+        * Check to see if the only things in this directory are
         * files non-visible to the client. If not, fail the delete.
         */
 
index 0a67364a56aa165fccd74e250150932691ad5c18..81babd718e2019d04e26bd91a3493c744172de53 100644 (file)
@@ -1222,7 +1222,7 @@ const char *ReadDirName(struct smb_Dir *dir_hnd, char **ptalloced)
                        continue;
                }
                /*
-                * ignore tmp directories, see mkdir_internals()
+                * ignore tmp directories, see mkdir_internal()
                 */
                if (IS_SMBD_TMPNAME(n, &unlink_flags)) {
                        struct files_struct *dirfsp = dir_hnd->fsp;