summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/raw/rawfile.c2
-rw-r--r--source4/libcli/raw/smb.h2
-rw-r--r--source4/smb_server/smb/receive.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c
index 1cacaab5cf..0b4ad9e929 100644
--- a/source4/libcli/raw/rawfile.c
+++ b/source4/libcli/raw/rawfile.c
@@ -933,7 +933,7 @@ struct smbcli_request *smb_raw_chkpath_send(struct smbcli_tree *tree, union smb_
{
struct smbcli_request *req;
- SETUP_REQUEST(SMBchkpth, 0, 0);
+ SETUP_REQUEST(SMBcheckpath, 0, 0);
smbcli_req_append_ascii4(req, parms->chkpath.in.path, STR_TERMINATE);
diff --git a/source4/libcli/raw/smb.h b/source4/libcli/raw/smb.h
index ee22ae097c..b9b658482f 100644
--- a/source4/libcli/raw/smb.h
+++ b/source4/libcli/raw/smb.h
@@ -266,7 +266,7 @@
#define SMBunlock 0x0D /* unlock byte range */
#define SMBctemp 0x0E /* create temporary file */
#define SMBmknew 0x0F /* make new file */
-#define SMBchkpth 0x10 /* check directory path */
+#define SMBcheckpath 0x10 /* check directory path */
#define SMBexit 0x11 /* process exit */
#define SMBlseek 0x12 /* seek */
#define SMBtcon 0x70 /* tree connect */
diff --git a/source4/smb_server/smb/receive.c b/source4/smb_server/smb/receive.c
index 1379fe31cf..04b0917c23 100644
--- a/source4/smb_server/smb/receive.c
+++ b/source4/smb_server/smb/receive.c
@@ -103,7 +103,7 @@ static const struct smb_message_struct
/* 0x0d */ { "SMBunlock", smbsrv_reply_unlock, NEED_SESS|NEED_TCON },
/* 0x0e */ { "SMBctemp", smbsrv_reply_ctemp, NEED_SESS|NEED_TCON },
/* 0x0f */ { "SMBmknew", smbsrv_reply_mknew, NEED_SESS|NEED_TCON },
-/* 0x10 */ { "SMBchkpth", smbsrv_reply_chkpth, NEED_SESS|NEED_TCON },
+/* 0x10 */ { "SMBcheckpath", smbsrv_reply_chkpth, NEED_SESS|NEED_TCON },
/* 0x11 */ { "SMBexit", smbsrv_reply_exit, NEED_SESS },
/* 0x12 */ { "SMBlseek", smbsrv_reply_lseek, NEED_SESS|NEED_TCON },
/* 0x13 */ { "SMBlockread", smbsrv_reply_lockread, NEED_SESS|NEED_TCON },