Changeset 2464

Show
Ignore:
Timestamp:
01/20/07 14:55:42 (2 years ago)
Author:
dhozac
Message:

Return 0 on any error, older kernels will return -EPERM for unknown syscalls.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/checkconfig.c

    r2415 r2464  
    3535    res     = vc_get_vci(); 
    3636    v_errno = errno; 
    37     if (res==(uint32_t)-1 && (errno==ENOSYS || errno==EINVAL)) res=0; 
     37    if (res==(uint32_t)-1) res=0; 
    3838  } 
    3939