diff --git a/libraries/liblutil/nt_err.c b/libraries/liblutil/nt_err.c index de279fcd45..2416f997e5 100644 --- a/libraries/liblutil/nt_err.c +++ b/libraries/liblutil/nt_err.c @@ -8,7 +8,7 @@ char *GetErrorString( int err ) static char msgBuf[1024]; FormatMessage( - FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, + FORMAT_MESSAGE_FROM_SYSTEM, NULL, err, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), msgBuf, 1024, NULL );