Fix spelling mistakes
[bbaumbach/samba-autobuild/.git] / source3 / smbd / open.c
index 40ba319bf3d995115c3ebf06be5b7b5db6b17b3a..a3df8a1b7363bb2dfdbf1013fdd1e2c1dea1f263 100644 (file)
@@ -3756,7 +3756,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
                                return status;
                        }
                }
-               /* Note that here we set the *inital* delete on close flag,
+               /* Note that here we set the *initial* delete on close flag,
                   not the regular one. The magic gets handled in close. */
                fsp->initial_delete_on_close = True;
        }
@@ -4292,7 +4292,7 @@ static NTSTATUS open_directory(connection_struct *conn,
                }
 
                if (NT_STATUS_IS_OK(status)) {
-                       /* Note that here we set the *inital* delete on close flag,
+                       /* Note that here we set the *initial* delete on close flag,
                           not the regular one. The magic gets handled in close. */
                        fsp->initial_delete_on_close = True;
                }