X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwin32.c;h=774222497627560bb8bb08a13023d60ac92552e3;hp=0836acaa8ad3ae128399c014d2657f0fef1bf5a6;hb=897535f623ca66134269fe9487a3770d4486d880;hpb=2b4002220a86b32fbae34c1bc59c5804289103c5 diff --git a/src/win32.c b/src/win32.c index 0836acaa..77422249 100644 --- a/src/win32.c +++ b/src/win32.c @@ -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; }