Browse Source

[2831] corrected exception what() message.

JINMEI Tatuya 12 years ago
parent
commit
3c93e56397
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/util/memory_segment_mapped.cc

+ 1 - 1
src/lib/util/memory_segment_mapped.cc

@@ -156,7 +156,7 @@ MemorySegmentMapped::allocate(size_t size) {
 void
 MemorySegmentMapped::deallocate(void* ptr, size_t) {
     if (impl_->read_only_) {
-        isc_throw(InvalidOperation, "allocate attempt on read-only segment");
+        isc_throw(InvalidOperation, "deallocate attempt on read-only segment");
     }
 
     // the underlying deallocate() would deal with the case where ptr == NULL,