diff options
author | Sage Weil <sage@inktank.com> | 2013-10-15 15:27:19 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-10-15 15:32:07 -0700 |
commit | 92ea0d19bbf8ae1d5d901d26da87cee997ca6843 (patch) | |
tree | e820de85ca93678ca517c3b9f51690e271a17ebc | |
parent | c658258d9e2f590054a30c0dee14a579a51bda8c (diff) | |
download | ceph-92ea0d19bbf8ae1d5d901d26da87cee997ca6843.tar.gz |
test/librados/cmd: fix compile error
From commit f0805cb61fccf9ffaa905b8477a131b4d46379fa.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/test/librados/cmd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/librados/cmd.cc b/src/test/librados/cmd.cc index a822f558e05..f47cc9fc7d2 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 |