]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: use / in sobject_t output
authorSage Weil <sage@newdream.net>
Fri, 8 May 2009 04:00:04 +0000 (21:00 -0700)
committerSage Weil <sage@newdream.net>
Fri, 8 May 2009 19:58:49 +0000 (12:58 -0700)
src/include/object.h

index 2f8ac32ecb8ef4cb64338c5110021672481f7bf6..5b70304f49d26cf0e49e40278ae6c9a25090e087 100644 (file)
@@ -174,7 +174,7 @@ inline bool operator<=(const sobject_t l, const sobject_t r) {
   return l.oid < r.oid || (l.oid == r.oid && l.snap <= r.snap);
 }
 inline ostream& operator<<(ostream& out, const sobject_t o) {
-  return out << o.oid << "." << o.snap;
+  return out << o.oid << "/" << o.snap;
 }
 
 namespace __gnu_cxx {