From 53baa78733c01dfcf842a7d8339bc3e8c55d517e Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 18 Oct 2007 23:06:35 +0000 Subject: [PATCH] windows-pioctl-error-codes-20071018 add knowledge of new cm error codes --- src/sys/pioctl_nt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sys/pioctl_nt.c b/src/sys/pioctl_nt.c index 4eec849712..7152e8a5b7 100644 --- a/src/sys/pioctl_nt.c +++ b/src/sys/pioctl_nt.c @@ -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;