diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-07-30 13:40:19 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-07-30 14:25:10 +1000 |
commit | 17bddd15de8420629b91f02869fa99880cd80bca (patch) | |
tree | 544d3077d9855cbd5cea09bb03ed9bd0c3b507d0 | |
parent | 5b4792d9d29ce27a5e69aedf0fcb65373e8aae31 (diff) | |
download | samba-17bddd15de8420629b91f02869fa99880cd80bca.tar.gz samba-17bddd15de8420629b91f02869fa99880cd80bca.tar.bz2 samba-17bddd15de8420629b91f02869fa99880cd80bca.zip |
lib/ntdb: Fix format string errors found by -Werror=format in ntdb tests
-rw-r--r-- | lib/ntdb/test/api-check-callback.c | 2 |
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; } |