From aa53bb583d2d01867a2db1d217001fc897e2b835 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 3 Dec 2009 16:10:17 +0000 Subject: fixing some warnings on 64bit machine. Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 408 (warning while building on 64bit machine..) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=408 --- xlators/protocol/server/src/server-protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/protocol') 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", -- cgit