From: Mathieu Parent Date: Thu, 29 Aug 2019 19:52:10 +0000 (+0200) Subject: Spelling fixes s/emtpy/empty/ X-Git-Tag: tevent-0.10.1~88 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=54b6fa863128830fa5c87cd574976d941fa4358b;p=samba.git Spelling fixes s/emtpy/empty/ Signed-off-by: Mathieu Parent Reviewed-by: Andrew Bartlett Reviewed-by: Gary Lockyer --- diff --git a/source3/libgpo/gpext/scripts.c b/source3/libgpo/gpext/scripts.c index dfa9958e326..fe0f1393aa9 100644 --- a/source3/libgpo/gpext/scripts.c +++ b/source3/libgpo/gpext/scripts.c @@ -418,7 +418,7 @@ static NTSTATUS scripts_process_group_policy(TALLOC_CTX *mem_ctx, werr = scripts_apply(ini_ctx->mem_ctx, token, root_key, flags, list[i], gpo, entries, num_entries); if (!W_ERROR_IS_OK(werr)) { - continue; /* FIXME: finally fix storing emtpy strings and REG_QWORD! */ + continue; /* FIXME: finally fix storing empty strings and REG_QWORD! */ } } diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c index 3c1e9a8a2cb..5c997bd61a0 100644 --- a/source3/locking/share_mode_lock.c +++ b/source3/locking/share_mode_lock.c @@ -411,7 +411,7 @@ static NTSTATUS share_mode_data_store(struct share_mode_data *d) if (d->num_share_modes == 0) { if (d->fresh) { - DBG_DEBUG("Ignoring fresh emtpy record\n"); + DBG_DEBUG("Ignoring fresh empty record\n"); return NT_STATUS_OK; } status = dbwrap_record_delete(d->record); diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c index f61822b5919..393d2133222 100644 --- a/source3/registry/reg_objects.c +++ b/source3/registry/reg_objects.c @@ -89,7 +89,7 @@ WERROR regsubkey_ctr_init(TALLOC_CTX *mem_ctx, struct regsubkey_ctr **ctr) } /** - * re-initialize the list of subkeys (to the emtpy list) + * re-initialize the list of subkeys (to the empty list) * in an already allocated regsubkey_ctr */ diff --git a/source3/utils/conn_tdb.c b/source3/utils/conn_tdb.c index 2d8d2d9e042..3d714382e1b 100644 --- a/source3/utils/conn_tdb.c +++ b/source3/utils/conn_tdb.c @@ -104,7 +104,7 @@ static int traverse_tcon_fn(struct smbXsrv_tcon_global0 *global, if (strlen(global->share_name) == 0) { /* * when a smbXsrv_tcon is created it's created - * with emtpy share_name first in order to allocate + * with empty share_name first in order to allocate * an id, before filling in the details. */ return 0; diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c index 9033d58083b..f32d122b36e 100644 --- a/source4/torture/rpc/epmapper.c +++ b/source4/torture/rpc/epmapper.c @@ -426,7 +426,7 @@ static bool test_Map_simple(struct torture_context *tctx, torture_assert(tctx, ndr_policy_handle_empty(&entry_handle), - "epm_Map_simple failed - The policy handle should be emtpy."); + "epm_Map_simple failed - The policy handle should be empty."); return true; } @@ -526,7 +526,7 @@ static bool test_Lookup_simple(struct torture_context *tctx, torture_assert(tctx, ndr_policy_handle_empty(&entry_handle), - "epm_Lookup failed - The policy handle should be emtpy."); + "epm_Lookup failed - The policy handle should be empty."); return true; } diff --git a/source4/torture/smb2/create.c b/source4/torture/smb2/create.c index 9b32062ab07..e6181c240cc 100644 --- a/source4/torture/smb2/create.c +++ b/source4/torture/smb2/create.c @@ -1703,7 +1703,7 @@ static bool test_dir_alloc_size(struct torture_context *tctx, * smb_roundup(..., stat.st_size) which would be 1 MB by * default. * - * Windows returns 0 for emtpy directories, once directories + * Windows returns 0 for empty directories, once directories * have a few entries it starts replying with values > 0. */ c.in.alloc_size = 1024*1024*1024;