summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-dir-read.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-12-13 03:33:21 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-12-14 19:41:47 -0800
commit3fd60a81d3a536cfd005e7fe3171d397d1019067 (patch)
treef14b7f19ccd4c11e6a5248a3c777b453cb6ef50a /xlators/cluster/afr/src/afr-dir-read.c
parent04fe9457923ff74e9fc396ed13c6a5eef4810493 (diff)
cluster/replicate: 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/cluster/afr/src/afr-dir-read.c')
-rw-r--r--xlators/cluster/afr/src/afr-dir-read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-dir-read.c b/xlators/cluster/afr/src/afr-dir-read.c
index f52054eaafe..19ddcbda762 100644
--- a/xlators/cluster/afr/src/afr-dir-read.c
+++ b/xlators/cluster/afr/src/afr-dir-read.c
@@ -259,7 +259,7 @@ afr_opendir_cbk (call_frame_t *frame, void *cookie,
local->op_ret = -1;
local->op_errno = -1;
gf_log (this->name, GF_LOG_ERROR, " failed to "
- "set fd ctx for fd %d", local->fd);
+ "set fd ctx for fd %p", local->fd);
goto out;
}
if (!afr_is_opendir_done (this, local->fd->inode) &&