global_init: make startup line consistent, less ugly

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2011-08-31 09:25:47 -07:00
parent 961260d3a2
commit 3714862123

View File

@ -42,9 +42,9 @@ static void global_init_set_globals(CephContext *cct)
static void output_ceph_version()
{
char buf[1024];
snprintf(buf, sizeof(buf), "ceph version %s.commit: %s. process: %s. "
"pid: %d", ceph_version_to_str(), git_version_to_str(),
get_process_name_cpp().c_str(), getpid());
snprintf(buf, sizeof(buf), "%s, process %s, pid %d",
pretty_version_to_str().c_str(),
get_process_name_cpp().c_str(), getpid());
generic_dout(0) << buf << dendl;
}