]> wimlib.net Git - wimlib/blobdiff - src/win32_apply.c
Add --command option to wimlib-imagex update
[wimlib] / src / win32_apply.c
index ffee267c61bfdee2b4e8a9ae4289129e28ce23da..7b7ff27ba29bf68504ce88a98c59031e6adee875 100644 (file)
@@ -1259,7 +1259,7 @@ win32_do_apply_dentry(const wchar_t *output_path,
                        /* Save extracted path for a later call to
                         * CreateHardLinkW() if this inode has multiple links.
                         * */
-                       inode->i_extracted_file = WSTRDUP(output_path);
+                       inode->i_extracted_file = WCSDUP(output_path);
                        if (!inode->i_extracted_file)
                                return WIMLIB_ERR_NOMEM;
                }