[CMD] Fix build. Addendum to 67ac583b5.

This commit is contained in:
Hermès Bélusca-Maïto 2022-09-25 23:59:07 +02:00
parent 67ac583b5b
commit 38870875ba
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -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)