diff options
author | Manikandan Selvaganesh <mselvaga@redhat.com> | 2015-04-06 16:21:43 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-06-15 06:26:43 -0700 |
commit | 379dbbfd683d2b0e1704c098b1f020567328122c (patch) | |
tree | 1ef1bd78d6a3bcf19915093463c8ef08b8473335 /xlators/protocol/client/src/client.h | |
parent | 554fa0c1315d0b4b78ba35a2d332d7ac0fd07d48 (diff) |
protocol/client : porting log messages to new framework
Change-Id: I9bf2ca08fef969e566a64475d0f7a16d37e66eeb
BUG: 1194640
Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com>
Reviewed-on: http://review.gluster.org/10042
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Tested-by: Raghavendra G <rgowdapp@redhat.com>
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; \ |