X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fexport_image.c;h=dfd9f058ffdd344a39022e0e44c4b8a5f20f982d;hp=e291ec14bf8f1ca99a6da7bf1490e814d3bcdd7b;hb=276f9f9f9658f4a8bafd6216db46760abe8c848d;hpb=8d2bd90a2c9a151edc1619bf35be46b2fdda3e36 diff --git a/src/export_image.c b/src/export_image.c index e291ec14..dfd9f058 100644 --- a/src/export_image.c +++ b/src/export_image.c @@ -95,8 +95,8 @@ static void inode_move_ltes_to_table(struct wim_inode *inode, WIMLIBAPI int wimlib_export_image(WIMStruct *src_wim, int src_image, WIMStruct *dest_wim, - const utf8char *dest_name, - const utf8char *dest_description, + const tchar *dest_name, + const tchar *dest_description, int export_flags, WIMStruct **additional_swms, unsigned num_additional_swms, @@ -165,21 +165,21 @@ WIMLIBAPI int wimlib_export_image(WIMStruct *src_wim, if (!dest_name) { dest_name = wimlib_get_image_name(src_wim, src_image); - DEBUG("Using name `%s' for source image %d", + DEBUG("Using name `%"TS"' for source image %d", dest_name, src_image); } if (!dest_description) { dest_description = wimlib_get_image_description(src_wim, src_image); - DEBUG("Using description `%s' for source image %d", + DEBUG("Using description `%"TS"' for source image %d", dest_description, src_image); } - DEBUG("Exporting image %d from `%s'", src_image, src_wim->filename); + DEBUG("Exporting image %d from `%"TS"'", src_image, src_wim->filename); if (wimlib_image_name_in_use(dest_wim, dest_name)) { - ERROR("There is already an image named `%s' in the " + ERROR("There is already an image named `%"TS"' in the " "destination WIM", dest_name); return WIMLIB_ERR_IMAGE_NAME_COLLISION; } @@ -200,7 +200,7 @@ WIMLIBAPI int wimlib_export_image(WIMStruct *src_wim, ret = select_wim_image(src_wim, src_image); if (ret != 0) { - ERROR("Could not select image %d from the WIM `%s' " + ERROR("Could not select image %d from the WIM `%"TS"' " "to export it", src_image, src_wim->filename); goto out; }