From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21532 invoked by alias); 23 Jun 2009 04:36:22 -0000 Received: (qmail 21526 invoked by alias); 23 Jun 2009 04:36:22 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion2.fedora.phx.redhat.com Subject: cluster: STABLE3 - config: fix warnings in confdb2ldif To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/STABLE3 X-Git-Reftype: branch X-Git-Oldrev: abb95f34971251d265f32ac38b7588b158e121a3 X-Git-Newrev: 6ec944b92755ddc89ccbbbd3e5c5be8a181355cd From: "Fabio M. Di Nitto" Message-Id: <20090623043542.200B81201EF@lists.fedorahosted.org> Date: Tue, 23 Jun 2009 04:36:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00682.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=6ec944b92755ddc89ccbbbd3e5c5be8a181355cd Commit: 6ec944b92755ddc89ccbbbd3e5c5be8a181355cd Parent: abb95f34971251d265f32ac38b7588b158e121a3 Author: Fabio M. Di Nitto AuthorDate: Tue Jun 23 06:35:13 2009 +0200 Committer: Fabio M. Di Nitto CommitterDate: Tue Jun 23 06:35:13 2009 +0200 config: fix warnings in confdb2ldif Signed-off-by: Fabio M. Di Nitto --- 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 dfc4cb9..2ce4e97 100644 --- a/config/tools/ldap/confdb2ldif.c +++ b/config/tools/ldap/confdb2ldif.c @@ -74,7 +74,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; } @@ -105,7 +105,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; } @@ -114,7 +114,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; }