ctdb: Fix format in db_hash_test
authorAndreas Schneider <asn@samba.org>
Mon, 29 Apr 2019 11:26:04 +0000 (13:26 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 7 May 2019 17:31:23 +0000 (17:31 +0000)
commitd16e9dfc81d7d79c8d2bcffc66b6fe008e726974
treeb9130c7175f2087208a6d76334b89013defb57fe
parent5a9e338330fe136908a3a17a5df81c054c5cc5b0
ctdb: Fix format in db_hash_test

error: ā€˜%04dā€™ directive writing between 4 and 11 bytes into a region of
size 5 [-Werror=format-overflow=]
   sprintf(key, "key%04d", i);

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
ctdb/tests/src/db_hash_test.c