Fix spelling s/formated/formatted/
authorMathieu Parent <math.parent@gmail.com>
Fri, 4 May 2018 20:20:57 +0000 (22:20 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 12 May 2018 00:09:26 +0000 (02:09 +0200)
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
nsswitch/pam_winbind.c
source3/lib/cbuf.h
source3/utils/log2pcaphex.c
source3/utils/net_printing.c

index 63fede87c788c2d95e8d05bdcd93eae1a75e9c66..7ac5bb081818c4de9d7033855353b2b859ebbbb0 100644 (file)
@@ -1220,7 +1220,7 @@ static bool winbind_name_list_to_sid_string_list(struct pwb_context *ctx,
                /*
                 * The lookup of the last name failed..
                 * It results in require_member_of_sid ends with ','
-                * It is malformated parameter here, overwrite the last ','.
+                * It is malformatted parameter here, overwrite the last ','.
                 */
                len = strlen(sid_list_buffer);
                if ((len != 0) && (sid_list_buffer[len - 1] == ',')) {
index 2fec822fec98a36d3a873a55d877a69a7c58408d..8a4098a42e580204361ec6245eb7bb8b936ecefc 100644 (file)
@@ -174,7 +174,7 @@ int cbuf_puts(cbuf* b, const char* str, size_t len);
 int cbuf_putdw(cbuf* b, uint32_t u);
 
 /**
- * Print formated to a character buffer.
+ * Print formatted to a character buffer.
  *
  * @param b a charcter buffer
  * @param fmt a printf format string
index b5c234f1b3c96620bbf6d963ee351a7f70ace94d..99733ed3c87fef3cafbf19dd39bcf7edf93e3e38 100644 (file)
@@ -281,7 +281,7 @@ static long read_log_data(FILE *in, unsigned char *buffer, long data_length)
                }
                if(!fscanf(in, "%02X", &tmp)) {
                        if(!quiet)
-                               fprintf(stderr, "%ld: Log message formated incorrectly. "
+                               fprintf(stderr, "%ld: Log message formatted incorrectly. "
                                    "Only first %ld bytes are logged, packet trace will "
                                    "be incomplete\n", line_num, i-1);
                        while ((tmp = getc(in)) != '\n');
index 8287e0ea04ac088b11a64319631d1bafd5dfb589..a7f31ae1ac37e98525d0fde39a5df4ad71122b9b 100644 (file)
@@ -231,7 +231,7 @@ static int net_printing_dump(struct net_context *c, int argc,
                           "net printing dump [options] <file.tdb>\n"
                           "    %s\n",
                         _("Usage:"),
-                        _("Dump formated printer information of the tdb."));
+                        _("Dump formatted printer information of the tdb."));
                d_printf(_("Valid options:\n"));
                d_printf(_("    encoding=<CP>   Set the Code Page of the tdb file.\n"
                           "                    See iconv -l for the list of CP values\n"