https://git.reactos.org/?p=reactos.git;a=commitdiff;h=38870875ba5d9ddcf381aaf41f8b8ad2cc9d668f

commit 38870875ba5d9ddcf381aaf41f8b8ad2cc9d668f
Author:     Hermès Bélusca-Maïto <hermes.belusca-ma...@reactos.org>
AuthorDate: Sun Sep 25 23:59:07 2022 +0200
Commit:     Hermès Bélusca-Maïto <hermes.belusca-ma...@reactos.org>
CommitDate: Sun Sep 25 23:59:18 2022 +0200

    [CMD] Fix build. Addendum to 67ac583b5.
---
 base/shell/cmd/copy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/shell/cmd/copy.c b/base/shell/cmd/copy.c
index 73901d7cd91..907222148f9 100644
--- a/base/shell/cmd/copy.c
+++ b/base/shell/cmd/copy.c
@@ -259,7 +259,7 @@ copy(TCHAR source[MAX_PATH],
 
     TRACE ("setting mode\n");
     /* For MS-DOS backwards-compatibility, always remove the read-only 
attribute */
-    SetFileAttributes (dest, dwAttribs & ~FILE_ATTRIBUTE_READONLY);
+    SetFileAttributes (dest, dwAttrib & ~FILE_ATTRIBUTE_READONLY);
 
     /* Now finish off the copy if needed with CopyFileEx */
     if (lpdwFlags & COPY_RESTART)

Reply via email to