diff options
| -rw-r--r-- | xlators/storage/posix/src/posix.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index fbb2dad74a1..450c6b5d9cd 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -1351,7 +1351,7 @@ posix_link (call_frame_t *frame, xlator_t *this,          MAKE_REAL_PATH (real_newpath, this, newloc->path);          op_ret = lstat (real_newpath, &stbuf); -        if ((op_ret == -1) && (errno = ENOENT)) { +        if ((op_ret == -1) && (errno == ENOENT)) {                  was_present = 0;          }  | 
