This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: master - config: fix warnings in confdb2ldif
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Tue, 23 Jun 2009 04:38:37 +0000 (UTC)
- Subject: cluster: master - config: fix warnings in confdb2ldif
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f2b25aff8e24c0a2b5785a735009af2046578e3c
Commit: f2b25aff8e24c0a2b5785a735009af2046578e3c
Parent: 3fd6ff96a6564ffe03cae131d65e0761bd862d5a
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Tue Jun 23 06:35:13 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jun 23 06:38:24 2009 +0200
config: fix warnings in confdb2ldif
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
config/tools/ldap/confdb2ldif.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config/tools/ldap/confdb2ldif.c b/config/tools/ldap/confdb2ldif.c
index 4dd92fc..5b7d83a 100644
--- a/config/tools/ldap/confdb2ldif.c
+++ b/config/tools/ldap/confdb2ldif.c
@@ -76,7 +76,7 @@ static void print_config_tree(confdb_handle_t handle, hdb_handle_t parent_object
/* Show the keys */
res = confdb_key_iter_start(handle, parent_object_handle);
if (res != CS_OK) {
- printf( "error resetting key iterator for object %llu: %d\n", parent_object_handle, res);
+ printf( "error resetting key iterator for object "HDB_D_FORMAT": %d\n", parent_object_handle, res);
return;
}
@@ -107,7 +107,7 @@ static void print_config_tree(confdb_handle_t handle, hdb_handle_t parent_object
/* Show sub-objects */
res = confdb_object_iter_start(handle, parent_object_handle);
if (res != CS_OK) {
- printf( "error resetting object iterator for object %llu: %d\n", parent_object_handle, res);
+ printf( "error resetting object iterator for object "HDB_D_FORMAT": %d\n", parent_object_handle, res);
return;
}
@@ -116,7 +116,7 @@ static void print_config_tree(confdb_handle_t handle, hdb_handle_t parent_object
res = confdb_object_parent_get(handle, object_handle, &parent);
if (res != CS_OK) {
- printf( "error getting parent for object %llu: %d\n", object_handle, res);
+ printf( "error getting parent for object "HDB_D_FORMAT": %d\n", object_handle, res);
return;
}