Patchwork [05/13] libnsdb: Fix debugging message in nsdb_open()

login
register
mail settings
Submitter Chuck Lever
Date Jan. 8, 2013, 5:27 p.m.
Message ID <20130108172750.65133.525.stgit@seurat.1015granger.net>
Download mbox | patch
Permalink /patch/210452/
State Accepted
Headers show

Comments

Chuck Lever - Jan. 8, 2013, 5:27 p.m.
Copy-paste error introduced in commit 0520ee72 "Initial commit," Tue
Mar 29 15:37:40 2011.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---

 src/libnsdb/ldap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/src/libnsdb/ldap.c b/src/libnsdb/ldap.c
index c066d85..5436a1e 100644
--- a/src/libnsdb/ldap.c
+++ b/src/libnsdb/ldap.c
@@ -482,7 +482,7 @@  nsdb_open(const char *hostname, const unsigned short port, LDAP **ld,
 		rc = ldap_set_option(tmp,
 				LDAP_OPT_PROTOCOL_VERSION, &ldap_version);
 		if (rc != LDAP_OPT_SUCCESS) {
-			xlog(D_GENERAL, "%s: Failed to get connection version "
+			xlog(D_GENERAL, "%s: Failed to set connection version "
 					" for NSDB '%s': %s",
 					__func__, hostname,
 					ldap_err2string(rc));