summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c2
-rw-r--r--source3/smbd/smb2_create.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 273f3b2c1e..f259cc99ec 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2376,7 +2376,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
if (file_existed && (flags2&O_TRUNC)) {
/*
- * We are modifing the file after open - update the stat
+ * We are modifying the file after open - update the stat
* struct..
*/
if ((SMB_VFS_FTRUNCATE(fsp, 0) == -1) ||
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 9881ed2d51..7dd7c5ca60 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -1066,7 +1066,7 @@ void schedule_deferred_open_message_smb2(
/*
* This is subtle. We must null out the callback
- * before resheduling, else the first call to
+ * before rescheduling, else the first call to
* tevent_req_nterror() causes the _receive()
* function to be called, this causing tevent_req_post()
* to crash.
@@ -1124,7 +1124,7 @@ static void smb2_deferred_open_timer(struct event_context *ev,
/*
* This is subtle. We must null out the callback
- * before resheduling, else the first call to
+ * before rescheduling, else the first call to
* tevent_req_nterror() causes the _receive()
* function to be called, this causing tevent_req_post()
* to crash.