1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Fix spelling s/formated/formatted/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
Mathieu Parent 2018-05-04 22:20:57 +02:00 committed by Andrew Bartlett
parent 4e4764240b
commit f5b908d818
4 changed files with 4 additions and 4 deletions

View 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] == ',')) {

View 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

View 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');

View 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"