]> wimlib.net Git - wimlib/blobdiff - src/win32.c
Use REPARSE_POINT_MAX_SIZE macro
[wimlib] / src / win32.c
index 0836acaa8ad3ae128399c014d2657f0fef1bf5a6..774222497627560bb8bb08a13023d60ac92552e3 100644 (file)
@@ -614,7 +614,7 @@ win32_capture_reparse_point(HANDLE hFile,
 
        /* "Reparse point data, including the tag and optional GUID,
         * cannot exceed 16 kilobytes." - MSDN  */
-       char reparse_point_buf[16 * 1024];
+       char reparse_point_buf[REPARSE_POINT_MAX_SIZE];
        DWORD bytesReturned;
 
        if (!DeviceIoControl(hFile, FSCTL_GET_REPARSE_POINT,
@@ -1329,7 +1329,7 @@ static int
 do_win32_extract_encrypted_stream(const wchar_t *path,
                                  const struct wim_lookup_table_entry *lte)
 {
-       ERROR("Extrat encryted streams not implemented");
+       ERROR("Extracting encryted streams not implemented");
        return WIMLIB_ERR_INVALID_PARAM;
 }