summaryrefslogtreecommitdiff
path: root/sal/osl/unx/nlsupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/nlsupport.c')
-rw-r--r--sal/osl/unx/nlsupport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/nlsupport.c b/sal/osl/unx/nlsupport.c
index 543e499a00a1..481caaf399b4 100644
--- a/sal/osl/unx/nlsupport.c
+++ b/sal/osl/unx/nlsupport.c
@@ -879,9 +879,9 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale )
if ( NULL == locale )
{
- locale = (char *)malloc( 20 );
+ locale = (char *)malloc( 128 );
if ( locale )
- macosx_getLocale( locale, 20 );
+ macosx_getLocale( locale, 128 );
else
fprintf( stderr, "nlsupport.c: locale allocation returned NULL!\n" );
}