diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 4fad4c837e..f4114325dd 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1102,7 +1102,7 @@ int close( int s ) { if (newconns) { Debug( LDAP_DEBUG_CONNS, - "daemon: close(%ld)\n", s ); + "daemon: close(%d)\n", s ); if (s >= 0 && s < dtblsize && newconns[s]) assert(newconns[s] == 2); } @@ -2122,7 +2122,7 @@ slap_listener( SET_CLOSE(s); } Debug( LDAP_DEBUG_CONNS, - "daemon: accept() = %ld\n", s ); + "daemon: accept() = %d\n", s ); /* Resume the listener FD to allow concurrent-processing of * additional incoming connections.