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/features/locks/src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/locks/src/common.c') diff --git a/xlators/features/locks/src/common.c b/xlators/features/locks/src/common.c index 5c83f366ee8..7cbf45958a8 100644 --- a/xlators/features/locks/src/common.c +++ b/xlators/features/locks/src/common.c @@ -264,7 +264,7 @@ pl_print_verdict (char *str, int size, int op_ret, int op_errno) } } - snprintf (str, size, verdict); + snprintf (str, size, "%s", verdict); } -- cgit