librbd/test_librbd.cc: fix format qualifiers

Fix for:

[src/test/librbd/test_librbd.cc:2610]: (warning) %lld in format string
 (no. 1) requires 'long long' but the argument type is 'unsigned long long'.
[src/test/librbd/test_librbd.cc:2610]: (warning) %lld in format string
 (no. 2) requires 'long long' but the argument type is 'unsigned long long'.
[src/test/librbd/test_librbd.cc:2610]: (warning) %lld in format string
 (no. 3) requires 'long long' but the argument type is 'unsigned long long'.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2017-10-14 00:47:45 +02:00
parent f250b9c32e
commit fc2f9bdb1c

View File

@ -2607,7 +2607,7 @@ TEST_F(TestLibRBD, TestClone)
ASSERT_EQ(overlap, 2UL<<20);
ASSERT_EQ(cinfo.size, 5UL<<20);
ASSERT_EQ(0, rbd_stat(parent, &pinfo, sizeof(pinfo)));
printf("parent info: size %lld obj_size %lld parent_pool %lld\n",
printf("parent info: size %llu obj_size %llu parent_pool %llu\n",
(unsigned long long)pinfo.size, (unsigned long long)pinfo.obj_size,
(unsigned long long)pinfo.parent_pool);
ASSERT_EQ(pinfo.size, 4UL<<20);