* syscalls.cc (_link): Corrected previous patch.

This commit is contained in:
Corinna Vinschen
2000-07-24 19:14:38 +00:00
parent 9602ffc30b
commit 8b6ebe8fd5
2 changed files with 5 additions and 1 deletions

View File

@ -547,7 +547,7 @@ _link (const char *a, const char *b)
lpContext = NULL;
cygwin_conv_to_full_win32_path (real_b.get_win32 (), buf);
cbPathLen = sys_mbstowcs (wbuf, buf, MAX_PATH);
cbPathLen = sys_mbstowcs (wbuf, buf, MAX_PATH) * sizeof (WCHAR);
StreamId.dwStreamId = BACKUP_LINK;
StreamId.dwStreamAttributes = 0;