summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2017-02-18 08:46:28 +1300
committerGarming Sam <garming@samba.org>2017-02-22 08:26:21 +0100
commita4ab7c73bda018147ca4e8645352503c2382fb74 (patch)
treeeab7b9f6a6b63ef3d9fcd074d6d1fecac28e91fe /source4
parentf7dc9f1e12b2413d0be290e21986e22f57ab8b08 (diff)
downloadsamba-a4ab7c73bda018147ca4e8645352503c2382fb74.tar.gz
Correct "occured" typos.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'source4')
-rw-r--r--source4/selftest/win/wintest_setup.exp4
-rw-r--r--source4/torture/basic/misc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/selftest/win/wintest_setup.exp b/source4/selftest/win/wintest_setup.exp
index f55732ac008..c48ad14b60c 100644
--- a/source4/selftest/win/wintest_setup.exp
+++ b/source4/selftest/win/wintest_setup.exp
@@ -10,7 +10,7 @@ proc setup_test { remote_prompt sharepath sharename username local_hostname \
set err_str [create_directory $remote_prompt $sharepath]
if { $err_str != "OK" } {
if { $err_str != "Directory already exists" } {
- puts stderr "\nUnexpected error occured in setup_test.\n"
+ puts stderr "\nUnexpected error occurred in setup_test.\n"
puts stderr "Function create_directory returned $err_str."
} else {
puts stdout "\nDirectory $sharepath exists."
@@ -33,7 +33,7 @@ proc setup_test { remote_prompt sharepath sharename username local_hostname \
$sharename]
if { $err_str != "OK" } {
if { $err_str != "The name has already been shared" } {
- puts stderr "\nUnexpected error occured in setup_test."
+ puts stderr "\nUnexpected error occurred in setup_test."
puts stderr "Function create_share returned $err_str."
} else {
puts stdout "\nShare $sharename exists."
diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c
index 536d34278af..7dcb9a7014c 100644
--- a/source4/torture/basic/misc.c
+++ b/source4/torture/basic/misc.c
@@ -967,7 +967,7 @@ bool run_benchrw(struct torture_context *tctx)
req->async.fn = benchrw_callback;
req->async.private_data=state[i];
break;
- /* error occured , finish */
+ /* error occurred , finish */
case ERROR:
finished++;
success=false;