smbd: Fix a typo
authorVolker Lendecke <vl@samba.org>
Mon, 19 Jun 2023 19:10:14 +0000 (21:10 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 3 Jul 2023 19:40:35 +0000 (19:40 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/param/loadparm.c
source3/smbd/posix_acls.c
source3/smbd/smb2_reply.c

index 46743b58a578e508e653a438db5cf06917d89ddc..fd9157fb95f58dc4312971b3c8c4691f9da73de9 100644 (file)
@@ -4424,7 +4424,7 @@ const char *volume_label(TALLOC_CTX *ctx, int snum)
                }
        }
 
-       /* This returns a max of 33 byte guarenteed null terminated string. */
+       /* This returns a max of 33 byte guaranteed null terminated string. */
        ret = talloc_strndup(ctx, label, end);
        if (!ret) {
                return "";
index b95fe6322966b612fb1f05468b94f93e3de708cb..787396028540876f80d892aea562492b8b4fab1f 100644 (file)
@@ -958,7 +958,7 @@ static void merge_aces( canon_ace **pp_list_head, bool dir_acl)
                                         * Even after removing permissions, there
                                         * are still allow permissions - delete the deny.
                                         * It is safe to delete the deny here,
-                                        * as we are guarenteed by the deny first
+                                        * as we are guaranteed by the deny first
                                         * ordering that all the deny entries for
                                         * this SID have already been merged into one
                                         * before we can get to an allow ace.
index f361ddcdefe48a1ced0b2456b91abf481a721c54..36a863c687bb5074e9fb91f762102cb80b3e6da9 100644 (file)
@@ -697,7 +697,7 @@ void reply_special(struct smbXsrv_connection *xconn, char *inbuf, size_t inbuf_s
        switch (msg_type) {
        case NBSSrequest: /* session request */
        {
-               /* inbuf_size is guarenteed to be at least 4. */
+               /* inbuf_size is guaranteed to be at least 4. */
                fstring name1,name2;
                int name_type1, name_type2;
                int name_len1, name_len2;