From 17bddd15de8420629b91f02869fa99880cd80bca Mon Sep 17 00:00:00 2001
From: Andrew Bartlett <abartlet@samba.org>
Date: Mon, 30 Jul 2012 13:40:19 +1000
Subject: lib/ntdb: Fix format string errors found by -Werror=format in ntdb
 tests

---
 lib/ntdb/test/api-check-callback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'lib/ntdb')

diff --git a/lib/ntdb/test/api-check-callback.c b/lib/ntdb/test/api-check-callback.c
index 0263f616da..b5ca8a057c 100644
--- a/lib/ntdb/test/api-check-callback.c
+++ b/lib/ntdb/test/api-check-callback.c
@@ -27,7 +27,7 @@ static enum NTDB_ERROR check(NTDB_DATA key,
 	int val;
 
 	if (key.dsize != sizeof(val)) {
-		diag("Wrong key size: %u\n", key.dsize);
+		diag("Wrong key size: %zu\n", key.dsize);
 		return NTDB_ERR_CORRUPT;
 	}
 
-- 
cgit