diff --git a/programs/cabarc/cabarc.c b/programs/cabarc/cabarc.c index 032aab2f565..c49796d7b15 100644 --- a/programs/cabarc/cabarc.c +++ b/programs/cabarc/cabarc.c @@ -666,7 +666,8 @@ int wmain( int argc, WCHAR *argv[] ) else if (!strcmpiW( argv[1], mszipW )) opt_compression = tcompTYPE_MSZIP; else { - WINE_MESSAGE( "cabarc: Unknown compression type '%s'\n", optarg ); + char *arg = strdupWtoA( CP_ACP, argv[1] ); + WINE_MESSAGE( "cabarc: Unknown compression type '%s'\n", arg); return 1; } break;