summaryrefslogtreecommitdiff
path: root/source3/lib/util_sock.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-20 10:02:30 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-20 10:02:30 +0000
commit93d458c5f68a7168ce543e820906bc55a5d3a339 (patch)
treed12058b745c122f95c005b23047a32e716011ed0 /source3/lib/util_sock.c
parent89f97bb254ac71b5fff8bf6d703578ac900c7ed1 (diff)
downloadsamba-93d458c5f68a7168ce543e820906bc55a5d3a339.tar.gz
samba-93d458c5f68a7168ce543e820906bc55a5d3a339.tar.bz2
samba-93d458c5f68a7168ce543e820906bc55a5d3a339.zip
fixed warnings on irix and crash bug on big endian machines
(This used to be commit cc6c263993eaf0715f231fc80ca7e6e65694548b)
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r--source3/lib/util_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 045e18ac22..a56a974193 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -814,7 +814,7 @@ int open_socket_in( int type, int port, int dlevel, uint32 socket_addr, BOOL reb
if( setsockopt(res,SOL_SOCKET,SO_REUSEPORT,(char *)&val,sizeof(val)) == -1 ) {
if( DEBUGLVL( dlevel ) ) {
dbgtext( "open_socket_in(): setsockopt: ");
- dbgtext( "SO_REUSEPORT = %d ", val?"True":"False" );
+ dbgtext( "SO_REUSEPORT = %s ", val?"True":"False" );
dbgtext( "on port %d failed ", port );
dbgtext( "with error = %s\n", strerror(errno) );
}