diff options
author | Colin Watson <cjwatson@debian.org> | 2005-05-25 11:01:01 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2005-05-25 11:01:01 +0000 |
commit | e88de75a1a236779a10e8ccbcc51d25308be8840 (patch) | |
tree | 7495477a2a7d0cac17a9fcded020b6ea816182ef /monitor_mm.c | |
parent | 30a0f9443782cd9d7308acd09430bf586186aa55 (diff) | |
parent | 5d05471f6657646d1d6500c7c43134462c407ee6 (diff) |
Merge 4.0p1 to the trunk.
Diffstat (limited to 'monitor_mm.c')
-rw-r--r-- | monitor_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_mm.c b/monitor_mm.c index ff523a5b1..b0ec37cff 100644 --- a/monitor_mm.c +++ b/monitor_mm.c | |||
@@ -92,7 +92,7 @@ mm_create(struct mm_master *mmalloc, size_t size) | |||
92 | mm->mmalloc = mmalloc; | 92 | mm->mmalloc = mmalloc; |
93 | 93 | ||
94 | address = xmmap(size); | 94 | address = xmmap(size); |
95 | if (address == MAP_FAILED) | 95 | if (address == (void *)MAP_FAILED) |
96 | fatal("mmap(%lu): %s", (u_long)size, strerror(errno)); | 96 | fatal("mmap(%lu): %s", (u_long)size, strerror(errno)); |
97 | 97 | ||
98 | mm->address = address; | 98 | mm->address = address; |