Show
Ignore:
Timestamp:
10/03/08 12:54:00 (3 months ago)
Author:
mwhitworth
Message:

Remove strcpy, replace calls to strcpy with strncpy, misc formatting fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/keobject/memory/mmap.c

    r882 r1079  
    8484                                ret=area->vNode->fileOps->mMap(area->vNode, address, offset); 
    8585                        else 
    86                                 ret=FileGenericReadPage(address,area->vNode,offset); 
     86                                ret=FileGenericReadPage(address, area->vNode, offset); 
    8787 
    8888                        if (ret) 
     
    165165        address=PAGE_ALIGN(address); 
    166166 
    167 //      KePrint("%s: %d: MMapHandleFault(%#X, %d, %d, %d)\n", current->name, current->pid, address, error, VM_WRITE, VM_USER); 
    168  
    169167        /* A null pointer has been deferenced */ 
    170168        if (!process || address < PAGE_SIZE) 
    171169                return -EFAULT; 
    172170 
     171//      KePrint("%s: %d: MMapHandleFault(%#X, %d, %d, %d)\n", current->name, current->pid, address, error, VM_WRITE, VM_USER); 
     172 
    173173        area=VmLookupAddress(process,address); 
    174  
     174         
    175175        /* Area of memory not currently mapped? */ 
    176176        if (!area)