diff options
author | deva <deva> | 2011-04-11 13:24:41 +0000 |
---|---|---|
committer | deva <deva> | 2011-04-11 13:24:41 +0000 |
commit | fc385002d828a940bfed29111ed8a02e4b1d27a3 (patch) | |
tree | 8688adbcbdc4bdc829b86872a91a056a1f064d8b /server | |
parent | fbdb0c502893716a65073c68d67b99d62620c32f (diff) |
Remove dangling stderr output.
Diffstat (limited to 'server')
-rw-r--r-- | server/src/journal_commit.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/journal_commit.cc b/server/src/journal_commit.cc index ce344c4..0c1a93d 100644 --- a/server/src/journal_commit.cc +++ b/server/src/journal_commit.cc @@ -109,8 +109,7 @@ int journal_commit(const char *cpr, const char *user, } if(connect(sock, (struct sockaddr *) &sin, sizeof(sin)) < 0) { - ERR_LOG(journal, "Connect() failed!\n"); - perror(":"); + ERR_LOG(journal, "Connect() failed: %s!\n", strerror(errno)); return -1; } #else |