X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Futil.c;h=3b45ce6fa26626e8d9690151a1ee92f879d613c5;hb=efdb571bf22033727f0d15bb161614686e5bcf66;hp=3bb78efb6a553036905b40d418885f5d1a6d9e2a;hpb=ce4af1bc0291503cae1b053d53efbc4123c50be5;p=wimlib diff --git a/src/util.c b/src/util.c index 3bb78efb..3b45ce6f 100644 --- a/src/util.c +++ b/src/util.c @@ -205,12 +205,12 @@ wimlib_set_error_file(FILE *fp) } WIMLIBAPI int -wimlib_set_error_file_by_name(const char *path) +wimlib_set_error_file_by_name(const tchar *path) { #ifdef ENABLE_ERROR_MESSAGES FILE *fp; - fp = fopen(path, "a"); + fp = tfopen(path, "a"); if (!fp) return WIMLIB_ERR_OPEN; wimlib_set_error_file(fp);