summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/storage/posix/src/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 6f9886af489..2d60ca4ea60 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -1986,7 +1986,7 @@ posix_create (call_frame_t *frame, xlator_t *this,
fd_t *fd)
{
int32_t op_ret = -1;
- int32_t op_errno = EINVAL;
+ int32_t op_errno = 0;
int32_t _fd = -1;
int _flags = 0;
char * real_path = NULL;