Browse Source

[2850] Update comment to match code

Mukund Sivaraman 12 years ago
parent
commit
ad233427c1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/datasrc/memory/zone_table_segment_mapped.cc

+ 2 - 2
src/lib/datasrc/memory/zone_table_segment_mapped.cc

@@ -194,8 +194,8 @@ ZoneTableSegmentMapped::openReadWrite(const std::string& filename,
 
 void
 ZoneTableSegmentMapped::openReadOnly(const std::string& filename) {
-    // In case there is a checksum mismatch, we throw. We want the
-    // segment to be automatically destroyed then.
+    // In case the checksum or table header is missing, we throw. We
+    // want the segment to be automatically destroyed then.
     std::auto_ptr<MemorySegmentMapped> segment
         (new MemorySegmentMapped(filename));
     // There must be a previously saved checksum.