Changeset 334 for branches/1.2/mmap.c


Ignore:
Timestamp:
2006-12-17T04:11:44+01:00 (8 years ago)
Author:
moo
Message:

fix #56, more robust error message/handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/mmap.c

    r302 r334  
    184184        if (strncmp(shm->name, "/dev", 4) == 0) { 
    185185            perror(shm->name); 
    186             errstr = "Cannot open file set by xcache.mmap_path"; 
     186            errstr = "Cannot open file set by xcache.mmap_path, check the xcache.size/var_size against system limitation"; 
    187187            goto err; 
    188188        } 
     
    191191        if (fd == -1) { 
    192192            perror(shm->name); 
    193             errstr = "Cannot open or create file set by xcache.mmap_path"; 
     193            errstr = "Cannot open or create file set by xcache.mmap_path, check the path permission or check xcache.size/var_size against system limitation"; 
    194194            goto err; 
    195195        } 
Note: See TracChangeset for help on using the changeset viewer.