]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2831] corrected exception what() message.
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 9 Apr 2013 22:21:02 +0000 (15:21 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 9 Apr 2013 22:21:02 +0000 (15:21 -0700)
src/lib/util/memory_segment_mapped.cc

index 330857cdace8f8f6cb4036d282e12a42de72188e..5e40473a31486174a8eaad90e3d4ba8832127680 100644 (file)
@@ -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,