diff options
author | yatip <ypadia@redhat.com> | 2020-02-03 17:36:00 +0530 |
---|---|---|
committer | Amar Tumballi <amar@kadalu.io> | 2020-03-03 11:56:44 +0000 |
commit | 48245df36c5dec40779355a36d7bb7689f9efe6d (patch) | |
tree | 1eeda3ac005002343d1e201849ed6e75ee03afb4 /xlators/protocol/client/src/client.h | |
parent | 1291667e26516d02e548207ba3df84c456a36b35 (diff) |
protocol/client: structure logging
convert gf_msg() to gf_smsg()
Updates: #657
Change-Id: I76a09cfd283bb4ec5c4358536da66547aaf0de31
Signed-off-by: yatip <ypadia@redhat.com>
Diffstat (limited to 'xlators/protocol/client/src/client.h')
-rw-r--r-- | xlators/protocol/client/src/client.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xlators/protocol/client/src/client.h b/xlators/protocol/client/src/client.h index 3b47d1207bc..ab799c41755 100644 --- a/xlators/protocol/client/src/client.h +++ b/xlators/protocol/client/src/client.h @@ -63,10 +63,8 @@ typedef enum { goto label; \ } \ if (remote_fd == -1) { \ - gf_msg(xl->name, GF_LOG_WARNING, EBADFD, PC_MSG_BAD_FD, \ - " (%s) " \ - "remote_fd is -1. EBADFD", \ - uuid_utoa(fd->inode->gfid)); \ + gf_smsg(xl->name, GF_LOG_WARNING, EBADFD, PC_MSG_BAD_FD, \ + "gfid=%s", uuid_utoa(fd->inode->gfid), NULL); \ op_errno = EBADFD; \ goto label; \ } \ |