]> git.sur5r.net Git - openldap/commitdiff
Add descr # to epoll_ctl failed error message
authorKurt Zeilenga <kurt@openldap.org>
Sun, 16 Oct 2005 06:41:55 +0000 (06:41 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 16 Oct 2005 06:41:55 +0000 (06:41 +0000)
servers/slapd/daemon.c

index b0f2d6bd0952c3dbcf7ad73acb5dd17a22c02a7c..6f796b493c592ac792e9957eebd485a0f0d5a09c 100644 (file)
@@ -180,8 +180,8 @@ static struct slap_daemon {
                slap_daemon.sd_nfds++; \
        } else { \
                Debug( LDAP_DEBUG_ANY, \
-                       "daemon: epoll_ctl ADD failed, errno %d, shutting down\n", \
-                       errno, 0, 0 ); \
+                       "daemon: epoll_ctl(ADD,fd=%d) failed, errno=%d, shutting down\n", \
+                       s, errno, 0 ); \
                slapd_shutdown = 2; \
        } \
 } while (0)
@@ -690,7 +690,7 @@ static int slap_get_listener_addresses(
                snprintf(serv, sizeof serv, "%d", port);
 
                if ( (err = getaddrinfo(host, serv, &hints, &res)) ) {
-                       Debug( LDAP_DEBUG_ANY, "daemon: getaddrinfo failed: %s\n",
+                       Debug( LDAP_DEBUG_ANY, "daemon: getaddrinfo() failed: %s\n",
                                AC_GAI_STRERROR(err), 0, 0);
                        return -1;
                }