summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Parent <math.parent@gmail.com>2018-05-04 22:20:57 +0200
committerAndrew Bartlett <abartlet@samba.org>2018-05-12 02:09:26 +0200
commitf5b908d8186b18bb3ec86b4b0db488bf7c6af643 (patch)
treefde2f0ae1de2092588f1d5f892e4971159a155e4
parent4e4764240bff063e1e9680117de66fd0519d916e (diff)
downloadsamba-f5b908d8186b18bb3ec86b4b0db488bf7c6af643.tar.gz
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>
-rw-r--r--nsswitch/pam_winbind.c2
-rw-r--r--source3/lib/cbuf.h2
-rw-r--r--source3/utils/log2pcaphex.c2
-rw-r--r--source3/utils/net_printing.c2
4 files changed, 4 insertions, 4 deletions
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] <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"