From: Sage Weil Date: Tue, 15 Oct 2013 22:27:19 +0000 (-0700) Subject: test/librados/cmd: fix compile error X-Git-Tag: v0.72-rc1~49 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=92ea0d19bbf8ae1d5d901d26da87cee997ca6843;p=ceph.git test/librados/cmd: fix compile error From commit f0805cb61fccf9ffaa905b8477a131b4d46379fa. Signed-off-by: Sage Weil --- diff --git a/src/test/librados/cmd.cc b/src/test/librados/cmd.cc index a822f558e058..f47cc9fc7d27 100644 --- a/src/test/librados/cmd.cc +++ b/src/test/librados/cmd.cc @@ -101,7 +101,7 @@ TEST(LibRadosCmd, PGCmd) { cmd[0] = (char *)"asdfasdf"; // note: tolerate NXIO here in case the cluster is thrashing out underneath us. - r = rados_pg_command(cluster, pgid.c_str(), (const char **)cmd, 1, "", 0, &buf, &buflen, &st, &stlen); + int r = rados_pg_command(cluster, pgid.c_str(), (const char **)cmd, 1, "", 0, &buf, &buflen, &st, &stlen); ASSERT_TRUE(r == -22 || r == -ENXIO); // make sure the pg exists on the osd before we query it