summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-06-26 18:42:42 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-06-26 18:42:42 +0200
commit5afa55c6703a71a198aac950db30ffc6ca49f269 (patch)
tree52260b2b25fd389bd63f32474992a78e55b4f602
parent1408e219e76e577fb84ef1c48e58337b6569feec (diff)
make the MMap Grow Error a fatal one as while in theory the code should
never segfault it still tend to do it so better show it directly
-rw-r--r--apt-pkg/contrib/mmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/mmap.cc b/apt-pkg/contrib/mmap.cc
index d233e51bc..d71066243 100644
--- a/apt-pkg/contrib/mmap.cc
+++ b/apt-pkg/contrib/mmap.cc
@@ -297,7 +297,7 @@ unsigned long DynamicMMap::RawAllocate(unsigned long Size,unsigned long Aln)
{
if(!Grow())
{
- _error->Error(_("Dynamic MMap ran out of room. Please increase the size "
+ _error->Fatal(_("Dynamic MMap ran out of room. Please increase the size "
"of APT::Cache-Limit. Current value: %lu. (man 5 apt.conf)"), WorkSpace);
return 0;
}