From 550476b5ad3ac6f5bfb745645ca6a29b0c209b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Wed, 15 Apr 2020 16:04:08 +0100 Subject: [PATCH] ITS#9112 Silence warnings --- servers/slapd/daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.