diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index c6cef4a71b..48186ff4e5 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -843,7 +843,7 @@ syncprov_qplay( Operation *op, slap_overinst *on, syncops *so ) rc = be_entry_get_rw( op, &opc.sndn, NULL, NULL, 0, &e ); if ( rc ) { Debug( LDAP_DEBUG_SYNC, "syncprov_qplay: failed to get %s, " - "ignoring...\n", opc.sndn.bv_val ); + "error (%d), ignoring...\n", opc.sndn.bv_val, rc ); ch_free( sr ); rc = 0; continue;