return 0;
}
-/* Try to attach an instance of the Windows Overlay File System Filter Driver to
+/* Try to attach an instance of the Windows Overlay Filesystem filter driver to
* the specified drive (such as C:) */
bool
win32_try_to_attach_wof(const wchar_t *drive)
size_t buflen = ARRAY_LEN(_buf);
size_t ret;
size_t n;
+ va_list va2;
retry:
- n = vsnwprintf(buf, buflen, format, va);
+ va_copy(va2, va);
+ n = vsnwprintf(buf, buflen, format, va2);
+ va_end(va2);
if (n >= buflen)
goto realloc;