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 63fede8..7ac5bb0 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 2fec822..8a4098a 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 b5c234f..99733ed 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 8287e0e..a7f31ae 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"