]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: fixed garbage output from test LibRBD.TestIOPP 3182/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 15 Dec 2014 17:37:05 +0000 (12:37 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 15 Dec 2014 17:44:44 +0000 (12:44 -0500)
commit394fd4c21264cc48bcbb5f8439b5e64856c963f6
tree2abe4f52ae2dee8c022bc59dfdf0b3911347e9e1
parent639096d9f74fe4bb614a46478df0ef2715a6efe4
librbd: fixed garbage output from test LibRBD.TestIOPP

buffer::list::c_str does not actually provide a C-style, NULL
terminated string.  As a result, its use for console output
resulted in stray garbage characters being printed.

Fixes: #9405
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/librbd/test_librbd.cc