]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cosd: don't screw up stdout with NULL string
authorSage Weil <sage@newdream.net>
Sat, 28 Feb 2009 23:52:46 +0000 (15:52 -0800)
committerSage Weil <sage@newdream.net>
Sat, 28 Feb 2009 23:52:46 +0000 (15:52 -0800)
src/cosd.cc

index 4aecea96ca59ff9dd2cdd76e43331c460797bd67..71cd738f3b0ccea542f6800c612929ae80ba4d6f 100644 (file)
@@ -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;