[PATCH 1/7] ldb:ldbadd tool - use "%u" for printing out unsigned integers

Matthias Dieter Wallnöfer mdw at samba.org
Mon Jan 17 14:45:26 MST 2011


---
 source4/lib/ldb/tools/ldbadd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/source4/lib/ldb/tools/ldbadd.c b/source4/lib/ldb/tools/ldbadd.c
index 6706c8a..82eb358 100644
--- a/source4/lib/ldb/tools/ldbadd.c
+++ b/source4/lib/ldb/tools/ldbadd.c
@@ -141,7 +141,7 @@ int main(int argc, const char **argv)
 
 	talloc_free(mem_ctx);
 
-	printf("Added %d records with %d failures\n", count, failures);
+	printf("Added %u records with %u failures\n", count, failures);
 
 	return ret;
 }
-- 
1.7.3.4



More information about the samba-technical mailing list