]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:lib: Fix typos
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 27 Apr 2023 21:41:59 +0000 (09:41 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 5 May 2023 02:54:31 +0000 (02:54 +0000)
These typos were also spotted by a mailing list user:

https://lists.samba.org/archive/samba-technical/2023-April/138190.html

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/lib/adouble.c

index 81229310c13be96dc34da4d14e27f6b231ae3d41..ee4166f96280311102e2de509f9d56931c2fa6be 100644 (file)
@@ -1004,7 +1004,7 @@ static bool ad_unpack(struct adouble *ad, const size_t nentries,
                 * ensure the specified offset is within that bound
                 */
                if ((off > bufsize) && (eid != ADEID_RFORK)) {
-                       DBG_NOTICE("Fogus eid %d: off: %" PRIu32
+                       DBG_NOTICE("Bogus eid %d: off: %" PRIu32
                                   ", len: %" PRIu32 "\n",
                                   eid,
                                   off,
@@ -1014,7 +1014,7 @@ static bool ad_unpack(struct adouble *ad, const size_t nentries,
 
                ok = ad_entry_check_size(eid, bufsize, off, len);
                if (!ok) {
-                       DBG_NOTICE("bogus eid [%" PRIu32 "] bufsize [%zu] "
+                       DBG_NOTICE("Bogus eid [%" PRIu32 "] bufsize [%zu] "
                                   "off [%" PRIu32 "] len [%" PRIu32 "]\n",
                                   eid,
                                   bufsize,