ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/vm_alloc.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/vm_alloc.cpp (file contents):
Revision 1.7 by gbeauche, 2002-03-16T10:51:17Z vs.
Revision 1.8 by gbeauche, 2003-05-13T16:56:37Z

# Line 136 | Line 136 | int vm_acquire_fixed(void * addr, size_t
136                  return -1;
137          
138          // Since I don't know the standard behavior of mmap(), zero-fill here
139 <        if (memset(addr, 0, size) != 0)
139 >        if (memset(addr, 0, size) != addr)
140                  return -1;
141   #else
142          // Unsupported

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines