summaryrefslogtreecommitdiff
path: root/sal/osl/unx/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/pipe.c')
-rw-r--r--sal/osl/unx/pipe.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sal/osl/unx/pipe.c b/sal/osl/unx/pipe.c
index e8ab52431744..0622fc52d35d 100644
--- a/sal/osl/unx/pipe.c
+++ b/sal/osl/unx/pipe.c
@@ -359,12 +359,10 @@ void SAL_CALL osl_closePipe( oslPipe pPipe )
len = sizeof(addr);
nRet = connect( fd, (struct sockaddr *)&addr, len);
-#if OSL_DEBUG_LEVEL > 1
if ( nRet < 0 )
{
- perror("connect in osl_destroyPipe");
+ OSL_TRACE("connect in osl_destroyPipe failed with error: %s", strerror(errno));
}
-#endif /* OSL_DEBUG_LEVEL */
close(fd);
}
#endif /* LINUX */