summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-08-05 22:56:02 +0300
committerTor Lillqvist <tml@iki.fi>2011-08-05 22:56:02 +0300
commitea5f8f94edd881016e4f3e2197964dd3525258ce (patch)
tree3e51097dce84d2189ddbd5a484a06842e82ed6ee /sal
parent3661f535da59a5d231551efd3a05120b0e52f1d1 (diff)
Print debugging output only if OSL_DEBUG_LEVEL > 1
Notes
Notes: split repo tag: ure_PRE_MELD_REPOS
Diffstat (limited to 'sal')
-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 fa796e62d93a..3dc687c03c7b 100644
--- a/sal/osl/unx/nlsupport.c
+++ b/sal/osl/unx/nlsupport.c
@@ -908,8 +908,8 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale )
setenv("LC_CTYPE", locale, 1 );
setenv("LANG", locale, 1 );
-#ifdef DEBUG
- fprintf( stderr, "nlsupport.c: _imp_getProcessLocale() returning %s as current locale.\n", locale );
+#if OSL_DEBUG_LEVEL > 1
+ OSL_TRACE("_imp_getProcessLocale() returning %s as current locale.\n", locale );
#endif
// pthread_mutex_unlock( &aLocalMutex );