summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/socket/sockethelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/osl/socket/sockethelper.cxx b/sal/qa/osl/socket/sockethelper.cxx
index c6ee81e2a363..35d650a42830 100644
--- a/sal/qa/osl/socket/sockethelper.cxx
+++ b/sal/qa/osl/socket/sockethelper.cxx
@@ -107,7 +107,7 @@ void printUString( const ::rtl::OUString & str, const char* msg)
#else
char hostname[255];
if (gethostname(hostname, 255) != 0) {
- OSL_ENSURE( false, "#Error: gethostname failed." );
+ OSL_FAIL( "#Error: gethostname failed." );
}
struct hostent *hptr;