From: Sage Weil Date: Sat, 28 Feb 2009 23:52:46 +0000 (-0800) Subject: cosd: don't screw up stdout with NULL string X-Git-Tag: v0.7~96 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=00602697356a255e662649f4663d2bdab79c6460;p=ceph.git cosd: don't screw up stdout with NULL string --- diff --git a/src/cosd.cc b/src/cosd.cc index 4aecea96ca59..71cd738f3b0c 100644 --- a/src/cosd.cc +++ b/src/cosd.cc @@ -126,7 +126,7 @@ int main(int argc, const char **argv) cout << "starting osd" << whoami << " at " << rank.get_rank_addr() - << " dev " << dev << " " << journaldev + << " dev " << dev << " " << (journaldev ? journaldev:"") << " fsid " << monmap.fsid << std::endl;