smbd: Fix a typo
authorVolker Lendecke <vl@samba.org>
Tue, 13 Oct 2020 09:38:49 +0000 (11:38 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 21 Oct 2020 19:04:38 +0000 (19:04 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/files.c

index 999100a9e6c3a14543b013e5809f3d6d22b729a0..d7def972d0edd7f00752829bdb0d3972b137413f 100644 (file)
@@ -876,7 +876,7 @@ size_t fsp_fullbasepath(struct files_struct *fsp, char *buf, size_t buflen)
        /*
         * Don't pass NULL buffer to snprintf (to satisfy static checker)
         * Some callers will call this function with NULL for buf and
-        * 0 for buflen in order to get length of fullbasepatch (without
+        * 0 for buflen in order to get length of fullbasepath (without
         * needing to allocate or write to buf)
         */
        if (buf == NULL) {