From: JINMEI Tatuya Date: Tue, 9 Apr 2013 22:21:02 +0000 (-0700) Subject: [2831] corrected exception what() message. X-Git-Tag: bind10-1.2.0beta1-release~457^2~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c93e56397f0af33064d449da82ca69d535a251a;p=thirdparty%2Fkea.git [2831] corrected exception what() message. --- diff --git a/src/lib/util/memory_segment_mapped.cc b/src/lib/util/memory_segment_mapped.cc index 330857cdac..5e40473a31 100644 --- a/src/lib/util/memory_segment_mapped.cc +++ b/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,