From 3fd60a81d3a536cfd005e7fe3171d397d1019067 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Mon, 13 Dec 2010 03:33:21 +0000 Subject: cluster/replicate: fix warnings due to format string mismatches during invocation of gf_log. Signed-off-by: Raghavendra G Signed-off-by: Anand V. Avati BUG: 2211 ((re)introduce warnings for format string/parameter mismatch) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2211 --- xlators/cluster/afr/src/afr-dir-read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/afr/src/afr-dir-read.c') diff --git a/xlators/cluster/afr/src/afr-dir-read.c b/xlators/cluster/afr/src/afr-dir-read.c index f52054eaa..19ddcbda7 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) && -- cgit