summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-12 14:28:50 +0100
committerGravatar Martin Szulecki2013-11-12 14:28:50 +0100
commit592ec9b5b5fb47197364e4e664abeb1cc9e58ec7 (patch)
tree42b7ba68d7f8778485c5ebee5a4a9e86e8f5893a
parent6d1de7e37715889eea3ad4cea5c24b4a11ce0973 (diff)
downloadifuse-592ec9b5b5fb47197364e4e664abeb1cc9e58ec7.tar.gz
ifuse-592ec9b5b5fb47197364e4e664abeb1cc9e58ec7.tar.bz2
Reformat indentation of afc error to errno map
-rw-r--r--src/ifuse.c48
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}
};