From: Volker Lendecke Date: Mon, 19 Jun 2023 19:10:14 +0000 (+0200) Subject: smbd: Fix a typo X-Git-Tag: talloc-2.4.1~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=79b07271ee94b13c68dd4e4c4cde1474614a1699;p=thirdparty%2Fsamba.git smbd: Fix a typo Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 46743b58a57..fd9157fb95f 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -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 ""; diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index b95fe632296..78739602854 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -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. diff --git a/source3/smbd/smb2_reply.c b/source3/smbd/smb2_reply.c index f361ddcdefe..36a863c687b 100644 --- a/source3/smbd/smb2_reply.c +++ b/source3/smbd/smb2_reply.c @@ -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;