windows-pioctl-error-codes-20071018

add knowledge of new cm error codes
This commit is contained in:
Jeffrey Altman 2007-10-18 23:06:35 +00:00
parent 91855b82c7
commit 53baa78733

View File

@ -92,12 +92,14 @@ CMtoUNIXerror(int cm_code)
return EACCES;
case CM_ERROR_NOSUCHFILE:
case CM_ERROR_NOSUCHPATH:
case CM_ERROR_BPLUS_NOMATCH:
return ENOENT;
case CM_ERROR_INVAL:
return EINVAL;
case CM_ERROR_BADFD:
return EBADF;
case CM_ERROR_EXISTS:
case CM_ERROR_INEXACT_MATCH:
return EEXIST;
case CM_ERROR_CROSSDEVLINK:
return EXDEV;