diff options
Diffstat (limited to 'xlators/protocol/client/src/client.h')
-rw-r--r-- | xlators/protocol/client/src/client.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client.h b/xlators/protocol/client/src/client.h index 40200b6afc4..38f34d56fe7 100644 --- a/xlators/protocol/client/src/client.h +++ b/xlators/protocol/client/src/client.h @@ -48,7 +48,8 @@ typedef enum { goto label; \ } \ if (remote_fd == -1) { \ - gf_log (xl->name, GF_LOG_WARNING, " (%s) " \ + gf_msg (xl->name, GF_LOG_WARNING, EBADFD, \ + PC_MSG_BAD_FD, " (%s) " \ "remote_fd is -1. EBADFD", \ uuid_utoa (fd->inode->gfid)); \ op_errno = EBADFD; \ |