]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: get rid of snprintf when formatting output string
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 15 Aug 2016 09:00:06 +0000 (17:00 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 18 Aug 2016 10:05:40 +0000 (18:05 +0800)
commit4f5d588bed6c000ba7acfd5c94a4e706ddd14f0d
treef252eca5b348c92621f27926f1d50ffbc3ff7595
parentc309ba49df08eaa84673ad50bf75f055e7dbabc7
mon/OSDMonitor: get rid of snprintf when formatting output string

We can use the standard precision() and fixed method to achieve the same
effect.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/mon/OSDMonitor.cc