summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-01-03 11:06:23 +0200
committerTor Lillqvist <tml@iki.fi>2012-01-03 11:06:23 +0200
commit2ad20308edf6ece3ddc6f5ae30ec2540f4eab5f1 (patch)
treef287d3b4586c578df56e9a611ce87d3e443d552b /sal
parent7eea90d66dd1bd570723ab4d981880ecfbad265c (diff)
WaE: deprecated conversion from string constant to 'char*'
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/process.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/process.cxx b/sal/osl/unx/process.cxx
index 57bc7171a06d..49a57e2c81a3 100644
--- a/sal/osl/unx/process.cxx
+++ b/sal/osl/unx/process.cxx
@@ -500,7 +500,7 @@ static void ChildStatusProc(void *pData)
if (! INIT_GROUPS(data.m_name, data.m_gid) || (setuid(data.m_uid) != 0))
OSL_TRACE("Failed to change uid and guid, errno=%d (%s)", errno, strerror(errno));
-#if defined(LINUX) || defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY)
+#if defined(LINUX) || defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(IOS) || defined(DRAGONFLY)
unsetenv("HOME");
#else
putenv("HOME=");