Parcourir la source

[2850] Update comment to match code

Mukund Sivaraman il y a 12 ans
Parent
commit
ad233427c1
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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.