diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c index 63fede87c78..7ac5bb08181 100644 --- a/nsswitch/pam_winbind.c +++ b/nsswitch/pam_winbind.c @@ -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] == ',')) { diff --git a/source3/lib/cbuf.h b/source3/lib/cbuf.h index 2fec822fec9..8a4098a42e5 100644 --- a/source3/lib/cbuf.h +++ b/source3/lib/cbuf.h @@ -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 diff --git a/source3/utils/log2pcaphex.c b/source3/utils/log2pcaphex.c index b5c234f1b3c..99733ed3c87 100644 --- a/source3/utils/log2pcaphex.c +++ b/source3/utils/log2pcaphex.c @@ -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'); diff --git a/source3/utils/net_printing.c b/source3/utils/net_printing.c index 8287e0ea04a..a7f31ae1ac3 100644 --- a/source3/utils/net_printing.c +++ b/source3/utils/net_printing.c @@ -231,7 +231,7 @@ static int net_printing_dump(struct net_context *c, int argc, "net printing dump [options] \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= Set the Code Page of the tdb file.\n" " See iconv -l for the list of CP values\n"