summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 33835fbb49c..d8e3a220980 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -258,21 +258,21 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, int& argc,
struct passwd* pw = getpwnam(newUser.c_str());
if(!pw)
{
- SystemException ex(__FILE__, __LINE__);
+ SyscallException ex(__FILE__, __LINE__);
ex.error = getSystemErrno();
throw ex;
}
if(setgid(pw->pw_gid) == -1)
{
- SystemException ex(__FILE__, __LINE__);
+ SyscallException ex(__FILE__, __LINE__);
ex.error = getSystemErrno();
throw ex;
}
if(setuid(pw->pw_uid) == -1)
{
- SystemException ex(__FILE__, __LINE__);
+ SyscallException ex(__FILE__, __LINE__);
ex.error = getSystemErrno();
throw ex;
}
@@ -437,7 +437,7 @@ IceInternal::Instance::finishSetup(int& argc, char* argv[])
if(daemon(nochdir, noclose) == -1)
{
- SystemException ex(__FILE__, __LINE__);
+ SyscallException ex(__FILE__, __LINE__);
ex.error = getSystemErrno();
throw ex;
}