From: Mathieu Parent Date: Fri, 4 May 2018 20:22:38 +0000 (+0200) Subject: Fix spelling s/processs/process/ X-Git-Tag: ldb-1.4.0~324 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fa770fd546c87e588d75cc143be2b20f59f5602;p=thirdparty%2Fsamba.git Fix spelling s/processs/process/ Signed-off-by: Mathieu Parent Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam --- diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 47da8178e8b..2bc6ff712ce 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -2159,7 +2159,7 @@ static bool run_locktest5(int dummy) ret = NT_STATUS_IS_OK(status); EXPECTED(ret, False); - printf("a different processs %s get a read lock on the first process lock stack\n", ret?"can":"cannot"); + printf("a different process %s get a read lock on the first process lock stack\n", ret?"can":"cannot"); /* Unlock the process 2 lock. */ cli_unlock(cli2, fnum2, 0, 4); @@ -2168,7 +2168,7 @@ static bool run_locktest5(int dummy) ret = NT_STATUS_IS_OK(status); EXPECTED(ret, False); - printf("the same processs on a different fnum %s get a read lock\n", ret?"can":"cannot"); + printf("the same process on a different fnum %s get a read lock\n", ret?"can":"cannot"); /* Unlock the process 1 fnum3 lock. */ cli_unlock(cli1, fnum3, 0, 4); @@ -2211,7 +2211,7 @@ static bool run_locktest5(int dummy) ret = NT_STATUS_IS_OK(status); EXPECTED(ret, True); - printf("a different processs %s get a write lock on the unlocked stack\n", ret?"can":"cannot"); + printf("a different process %s get a write lock on the unlocked stack\n", ret?"can":"cannot"); fail: diff --git a/source4/torture/basic/locking.c b/source4/torture/basic/locking.c index 98def5c09c1..e0e2971c9ad 100644 --- a/source4/torture/basic/locking.c +++ b/source4/torture/basic/locking.c @@ -567,7 +567,7 @@ static bool torture_locktest5(struct torture_context *tctx, struct smbcli_state ret = NT_STATUS_IS_OK(smbcli_lock(cli2->tree, fnum2, 0, 4, 0, READ_LOCK)); EXPECTED(ret, false); - torture_comment(tctx, "a different processs %s get a read lock on the first process lock stack\n", ret?"can":"cannot"); + torture_comment(tctx, "a different process %s get a read lock on the first process lock stack\n", ret?"can":"cannot"); /* Unlock the process 2 lock. */ smbcli_unlock(cli2->tree, fnum2, 0, 4); @@ -575,7 +575,7 @@ static bool torture_locktest5(struct torture_context *tctx, struct smbcli_state ret = NT_STATUS_IS_OK(smbcli_lock(cli1->tree, fnum3, 0, 4, 0, READ_LOCK)); EXPECTED(ret, false); - torture_comment(tctx, "the same processs on a different fnum %s get a read lock\n", ret?"can":"cannot"); + torture_comment(tctx, "the same process on a different fnum %s get a read lock\n", ret?"can":"cannot"); /* Unlock the process 1 fnum3 lock. */ smbcli_unlock(cli1->tree, fnum3, 0, 4); @@ -617,7 +617,7 @@ ret = NT_STATUS_IS_OK(smbcli_unlock(cli1->tree, fnum1, 0, 4)) && ret = NT_STATUS_IS_OK(smbcli_lock(cli2->tree, fnum2, 0, 4, 0, WRITE_LOCK)); EXPECTED(ret, true); - torture_comment(tctx, "a different processs %s get a write lock on the unlocked stack\n", ret?"can":"cannot"); + torture_comment(tctx, "a different process %s get a write lock on the unlocked stack\n", ret?"can":"cannot"); torture_assert_ntstatus_ok(tctx, smbcli_close(cli1->tree, fnum1),