summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-handshake.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-12-13 00:13:15 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-12-12 23:38:47 -0800
commit26caaeae10414f9888a438ad8559692a7f74f918 (patch)
treeb6c2574676defbbf7a7e56d23a20f994085fb44a /xlators/protocol/client/src/client-handshake.c
parentaaad9c6f6ebe4bff3307e532cd802fafaed4a67f (diff)
protocol: fix warnings due to format string mismatches during invocation of gf_log.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2211 ((re)introduce warnings for format string/parameter mismatch) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2211
Diffstat (limited to 'xlators/protocol/client/src/client-handshake.c')
-rw-r--r--xlators/protocol/client/src/client-handshake.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c
index 62877078b..496c48935 100644
--- a/xlators/protocol/client/src/client-handshake.c
+++ b/xlators/protocol/client/src/client-handshake.c
@@ -403,8 +403,8 @@ client3_1_reopen_cbk (struct rpc_req *req, struct iovec *iov, int count,
local->loc.path, strerror (rsp.op_errno));
} else {
gf_log (frame->this->name, GF_LOG_NORMAL,
- "reopen on %s succeeded (%"PRId64")",
- local->loc.path, rsp.op_ret, rsp.fd);
+ "reopen on %s succeeded (remote-fd = %"PRId64")",
+ local->loc.path, rsp.fd);
}
if (rsp.op_ret == -1)
@@ -492,11 +492,11 @@ client3_1_reopendir_cbk (struct rpc_req *req, struct iovec *iov, int count,
if (rsp.op_ret < 0) {
gf_log (frame->this->name, GF_LOG_NORMAL,
"reopendir on %s failed (%s)",
- local->loc.path, rsp.op_ret, strerror (rsp.op_errno));
+ local->loc.path, strerror (rsp.op_errno));
} else {
gf_log (frame->this->name, GF_LOG_NORMAL,
- "reopendir on %s succeeded (%"PRId64")",
- local->loc.path, rsp.op_ret, rsp.fd);
+ "reopendir on %s succeeded (fd = %"PRId64")",
+ local->loc.path, rsp.fd);
}
if (-1 != rsp.op_ret) {