diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-26 18:42:42 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-26 18:42:42 +0200 |
commit | 5afa55c6703a71a198aac950db30ffc6ca49f269 (patch) | |
tree | 52260b2b25fd389bd63f32474992a78e55b4f602 /apt-pkg | |
parent | 1408e219e76e577fb84ef1c48e58337b6569feec (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
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/contrib/mmap.cc | 2 |
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; } |