]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados: don't add \n to getxattr
authorSage Weil <sage@redhat.com>
Wed, 6 Aug 2014 22:07:17 +0000 (15:07 -0700)
committerSage Weil <sage@redhat.com>
Wed, 6 Aug 2014 22:31:15 +0000 (15:31 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
src/tools/rados/rados.cc

index 807b660b3f13dcf1c94234ccee2bc40a84778f3d..29726d1b46dc379a8ab308957cecd688229ae474 100644 (file)
@@ -1675,7 +1675,7 @@ static int rados_tool_common(const std::map < std::string, std::string > &opts,
     else
       ret = 0;
     string s(bl.c_str(), bl.length());
-    cout << s << std::endl;
+    cout << s;
   } else if (strcmp(nargs[0], "rmxattr") == 0) {
     if (!pool_name || nargs.size() < 3)
       usage_exit();