summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-12-03 16:10:17 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-12-03 13:54:57 -0800
commitaa53bb583d2d01867a2db1d217001fc897e2b835 (patch)
tree2c0f41e380bb33e6d766088ac1a7e7240fc8406d /xlators/protocol
parentcec1f78d42f49f35448d81c944afb9afae19c959 (diff)
fixing some warnings on 64bit machine.
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 408 (warning while building on 64bit machine..) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=408
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/server/src/server-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-protocol.c b/xlators/protocol/server/src/server-protocol.c
index 9dc6e118453..1f2cb7d06f1 100644
--- a/xlators/protocol/server/src/server-protocol.c
+++ b/xlators/protocol/server/src/server-protocol.c
@@ -234,7 +234,7 @@ server_print_reply (call_frame_t *frame, int op_ret, int op_errno)
fdstr[0] = '\0';
if (state->fd)
- snprintf (fdstr, 128, " fd=%p", state->fd);
+ snprintf (fdstr, 32, " fd=%p", state->fd);
gf_log (this->name, GF_LOG_NORMAL,
"%s%s => (%d, %d)%s",