]> wimlib.net Git - wimlib/blobdiff - src/win32_capture.c
Generalized support for referencing resources in external WIMs
[wimlib] / src / win32_capture.c
index 3466ad47f1af8f36025e6b27fdf53545081723ff..14a6c134833e0b47860c60e75321560ea60258ba 100644 (file)
@@ -945,7 +945,7 @@ win32_capture_stream(const wchar_t *path,
        spath_buf_nbytes = (spath_nchars + 1) * sizeof(wchar_t);
        spath = MALLOC(spath_buf_nbytes);
 
-       swprintf(spath, L"%ls%ls%ls%ls",
+       tsprintf(spath, L"%ls%ls%ls%ls",
                 relpath_prefix, path, colonchar, stream_name);
 
        /* Make a new wim_lookup_table_entry */