diff options
Diffstat (limited to 'src/ifuse.c')
-rw-r--r-- | src/ifuse.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/ifuse.c b/src/ifuse.c index 2db42c7..131e2b7 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -122,30 +122,30 @@ struct afc_error_mapping { afc_error_t from; int to; } static afc_error_to_errno_map[] = { - {AFC_E_SUCCESS , 0}, - {AFC_E_OP_HEADER_INVALID , EIO}, - {AFC_E_NO_RESOURCES , EMFILE}, - {AFC_E_READ_ERROR , ENOTDIR}, - {AFC_E_WRITE_ERROR , EIO}, - {AFC_E_UNKNOWN_PACKET_TYPE , EIO}, - {AFC_E_INVALID_ARG , EINVAL}, - {AFC_E_OBJECT_NOT_FOUND , ENOENT}, - {AFC_E_OBJECT_IS_DIR , EISDIR}, - {AFC_E_DIR_NOT_EMPTY , ENOTEMPTY}, - {AFC_E_PERM_DENIED , EPERM}, - {AFC_E_SERVICE_NOT_CONNECTED , ENXIO}, - {AFC_E_OP_TIMEOUT , ETIMEDOUT}, - {AFC_E_TOO_MUCH_DATA , EFBIG}, - {AFC_E_END_OF_DATA , ENODATA}, - {AFC_E_OP_NOT_SUPPORTED , ENOSYS}, - {AFC_E_OBJECT_EXISTS , EEXIST}, - {AFC_E_OBJECT_BUSY , EBUSY}, - {AFC_E_NO_SPACE_LEFT , ENOSPC}, - {AFC_E_OP_WOULD_BLOCK , EWOULDBLOCK}, - {AFC_E_IO_ERROR , EIO}, - {AFC_E_OP_INTERRUPTED , EINTR}, - {AFC_E_OP_IN_PROGRESS , EALREADY}, - {AFC_E_INTERNAL_ERROR , EIO}, + {AFC_E_SUCCESS , 0}, + {AFC_E_OP_HEADER_INVALID , EIO}, + {AFC_E_NO_RESOURCES , EMFILE}, + {AFC_E_READ_ERROR , ENOTDIR}, + {AFC_E_WRITE_ERROR , EIO}, + {AFC_E_UNKNOWN_PACKET_TYPE , EIO}, + {AFC_E_INVALID_ARG , EINVAL}, + {AFC_E_OBJECT_NOT_FOUND , ENOENT}, + {AFC_E_OBJECT_IS_DIR , EISDIR}, + {AFC_E_DIR_NOT_EMPTY , ENOTEMPTY}, + {AFC_E_PERM_DENIED , EPERM}, + {AFC_E_SERVICE_NOT_CONNECTED , ENXIO}, + {AFC_E_OP_TIMEOUT , ETIMEDOUT}, + {AFC_E_TOO_MUCH_DATA , EFBIG}, + {AFC_E_END_OF_DATA , ENODATA}, + {AFC_E_OP_NOT_SUPPORTED , ENOSYS}, + {AFC_E_OBJECT_EXISTS , EEXIST}, + {AFC_E_OBJECT_BUSY , EBUSY}, + {AFC_E_NO_SPACE_LEFT , ENOSPC}, + {AFC_E_OP_WOULD_BLOCK , EWOULDBLOCK}, + {AFC_E_IO_ERROR , EIO}, + {AFC_E_OP_INTERRUPTED , EINTR}, + {AFC_E_OP_IN_PROGRESS , EALREADY}, + {AFC_E_INTERNAL_ERROR , EIO}, {-1} }; |