From: Danny Al-Gaaf Date: Fri, 13 Oct 2017 22:47:45 +0000 (+0200) Subject: librbd/test_librbd.cc: fix format qualifiers X-Git-Tag: v13.0.1~358^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fc2f9bdb1ca538ccda1e3c690e54724122456b3c;p=ceph.git 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 --- diff --git a/src/test/librbd/test_librbd.cc b/src/test/librbd/test_librbd.cc index 7893244ed85d..198ea97e2c65 100644 --- a/src/test/librbd/test_librbd.cc +++ b/src/test/librbd/test_librbd.cc @@ -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);