From: Sage Weil Date: Tue, 27 Sep 2016 18:18:41 +0000 (-0400) Subject: buffer: fix * zero placement X-Git-Tag: v11.1.0~617^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b00b9d021bf6c317760a2aaeea25c454aeaac8e3;p=ceph.git buffer: fix * zero placement Back in 46522cf0d27ad7d236f61bf132c915210754a0f4 we broke the newline placement for the * lines. Signed-off-by: Sage Weil --- diff --git a/src/common/buffer.cc b/src/common/buffer.cc index 98ce67c7e1e..74a84a3b8cf 100644 --- a/src/common/buffer.cc +++ b/src/common/buffer.cc @@ -2432,7 +2432,7 @@ void buffer::list::hexdump(std::ostream &out, bool trailing_newline) const if (row_is_zeros) { if (was_zeros) { if (!did_star) { - out << "*\n"; + out << "\n*"; did_star = true; } continue;