Usermode/libposix - Misc
[tpg/acess2.git] / KernelLand / Kernel / vfs / mmap.c
index c5015e6..21b6265 100644 (file)
@@ -57,6 +57,7 @@ void *VFS_MMap(void *DestHint, size_t Length, int Protection, int Flags, int FD,
                                        PAGE_SIZE - (mapping_base & (PAGE_SIZE-1))
                                        );
                                memset( (void*)(mapping_base + ofs), 0, PAGE_SIZE - (mapping_base & (PAGE_SIZE-1)));
+                               LOG("dune");
                        }
                        else {
                                LOG("New empty page");
@@ -85,7 +86,8 @@ void *VFS_MMap(void *DestHint, size_t Length, int Protection, int Flags, int FD,
                pb = h->Node->MMapInfo, prev = NULL;
                pb && pb->BaseOffset + MMAP_PAGES_PER_BLOCK < pagenum;
                prev = pb, pb = pb->Next
-               );
+               )
+               ;
 
        LOG("pb = %p, pb->BaseOffset = %X", pb, pb ? pb->BaseOffset : 0);
 

UCC git Repository :: git.ucc.asn.au