diff options
author | Jose <jose@zeroc.com> | 2018-08-13 18:42:15 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-08-13 18:42:15 +0200 |
commit | 2ea71fccb3160f92c8bfdca5e49dbd14de65cd2f (patch) | |
tree | 46d80237be6b75378b32b7d248463e12b22e1e65 /cpp/src/IceGrid/Activator.cpp | |
parent | Whitespace cleanup (diff) | |
download | ice-2ea71fccb3160f92c8bfdca5e49dbd14de65cd2f.tar.bz2 ice-2ea71fccb3160f92c8bfdca5e49dbd14de65cd2f.tar.xz ice-2ea71fccb3160f92c8bfdca5e49dbd14de65cd2f.zip |
Fixes for strerror_r usage
Diffstat (limited to 'cpp/src/IceGrid/Activator.cpp')
-rw-r--r-- | cpp/src/IceGrid/Activator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Activator.cpp b/cpp/src/IceGrid/Activator.cpp index bd76a224546..70e46eaa86b 100644 --- a/cpp/src/IceGrid/Activator.cpp +++ b/cpp/src/IceGrid/Activator.cpp @@ -90,7 +90,7 @@ reportChildError(int err, int fd, const char* cannot, const char* name, const Tr os << ": " << IceUtilInternal::errorToString(err) << endl; } const string msg = os.str(); - ssize_t sz = write(fd, msg.c_str(), msg.size() + 1); + ssize_t sz = write(fd, msg.c_str(), msg.size()); if(sz == -1) { Ice::Warning out(traceLevels->logger); |