Skip to content

Commit

Permalink
Spelling fixes s/emtpy/empty/
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Parent <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
Reviewed-by: Gary Lockyer <[email protected]>
  • Loading branch information
sathieu authored and abartlet committed Sep 1, 2019
1 parent f2b30a3 commit 54b6fa8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion source3/libgpo/gpext/scripts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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! */
}
}

Expand Down
2 changes: 1 addition & 1 deletion source3/locking/share_mode_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion source3/registry/reg_objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

Expand Down
2 changes: 1 addition & 1 deletion source3/utils/conn_tdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions source4/torture/rpc/epmapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion source4/torture/smb2/create.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 54b6fa8

Please sign in to comment.