summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-30 13:40:19 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-30 14:25:10 +1000
commit17bddd15de8420629b91f02869fa99880cd80bca (patch)
tree544d3077d9855cbd5cea09bb03ed9bd0c3b507d0 /lib
parent5b4792d9d29ce27a5e69aedf0fcb65373e8aae31 (diff)
downloadsamba-17bddd15de8420629b91f02869fa99880cd80bca.tar.gz
samba-17bddd15de8420629b91f02869fa99880cd80bca.tar.bz2
samba-17bddd15de8420629b91f02869fa99880cd80bca.zip
lib/ntdb: Fix format string errors found by -Werror=format in ntdb tests
Diffstat (limited to 'lib')
-rw-r--r--lib/ntdb/test/api-check-callback.c2
1 files changed, 1 insertions, 1 deletions
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;
}