From: Mathieu Parent Date: Fri, 4 May 2018 20:23:45 +0000 (+0200) Subject: Fix spelling s/retun/return/ X-Git-Tag: ldb-1.4.0~319 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f7749cda72fd3d4a532fdd8f2c9ba99f48ca738;p=thirdparty%2Fsamba.git Fix spelling s/retun/return/ Signed-off-by: Mathieu Parent Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam --- diff --git a/ctdb/common/sock_daemon.h b/ctdb/common/sock_daemon.h index a2c4d3de778..aa40995b3e4 100644 --- a/ctdb/common/sock_daemon.h +++ b/ctdb/common/sock_daemon.h @@ -110,7 +110,7 @@ struct sock_daemon_funcs { * * @param[in] client The new socket client context * @param[in] private_data Private data set with the socket - * @retun true if connection should be accepted, false otherwise + * @return true if connection should be accepted, false otherwise * * * disconnect() is called when client closes connection diff --git a/source3/client/client.c b/source3/client/client.c index 1429b44e9cf..8dbf7474d25 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -5564,7 +5564,7 @@ static struct { {"posix_mkdir",cmd_posix_mkdir," 0 creates a directory using POSIX interface",{COMPL_REMOTE,COMPL_NONE}}, {"posix_rmdir",cmd_posix_rmdir," removes a directory using POSIX interface",{COMPL_REMOTE,COMPL_NONE}}, {"posix_unlink",cmd_posix_unlink," removes a file using POSIX interface",{COMPL_REMOTE,COMPL_NONE}}, - {"posix_whoami",cmd_posix_whoami,"retun logged on user information " + {"posix_whoami",cmd_posix_whoami,"return logged on user information " "using POSIX interface",{COMPL_REMOTE,COMPL_NONE}}, {"print",cmd_print," print a file",{COMPL_NONE,COMPL_NONE}}, {"prompt",cmd_prompt,"toggle prompting for filenames for mget and mput",{COMPL_NONE,COMPL_NONE}}, diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c index a08191d0bf2..45ff8195c19 100644 --- a/source4/torture/raw/setfileinfo.c +++ b/source4/torture/raw/setfileinfo.c @@ -825,7 +825,7 @@ torture_raw_sfileinfo_eof(struct torture_context *tctx, sfi.end_of_file_info.in.size = 200; status = smb_raw_setpathinfo(cli2->tree, &sfi); - /* This should cause the client to retun invalid level. */ + /* This should cause the client to return invalid level. */ if (TARGET_IS_W2K8(tctx) || TARGET_IS_WIN7(tctx)) { /* * Windows sends back an invalid packet that smbclient sees