diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-07-27 09:50:32 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-07-27 09:50:32 +0200 |
commit | 1e9f840254a9ae2b432e5c9d80bc32bf5df8464e (patch) | |
tree | 2fab64a2f706c83843da79d9d552e2e1871e6321 /apt-pkg/contrib/mmap.cc | |
parent | 76fcbe5c97849dcbbe67434d08e0a22c02fedd51 (diff) | |
parent | a67de73e4b66d67eeafe5d8c1f7fd5b031faeb3f (diff) |
merged from donkult
Diffstat (limited to 'apt-pkg/contrib/mmap.cc')
-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 917466c2f..aa52b4c30 100644 --- a/apt-pkg/contrib/mmap.cc +++ b/apt-pkg/contrib/mmap.cc @@ -201,7 +201,7 @@ DynamicMMap::~DynamicMMap() if (Fd == 0) { #ifdef _POSIX_MAPPED_FILES - if(munmap(Base, WorkSpace) < 0) + munmap(Base, WorkSpace); #else delete [] (unsigned char *)Base; #endif |