From 23a318db143764ba62dce004fa1d774bd97bbba2 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Thu, 11 Feb 2010 07:07:48 +0000 Subject: debug/error-gen: unwind with appropriate number and type of arguments. Signed-off-by: Raghavendra G Signed-off-by: Anand V. Avati BUG: 608 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=608 --- xlators/debug/error-gen/src/error-gen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xlators/debug/error-gen/src/error-gen.c b/xlators/debug/error-gen/src/error-gen.c index 8e0fb0534..364351dd4 100644 --- a/xlators/debug/error-gen/src/error-gen.c +++ b/xlators/debug/error-gen/src/error-gen.c @@ -818,7 +818,7 @@ error_gen_readv (call_frame_t *frame, op_errno = error_gen(this); if (op_errno) { GF_ERROR(this, "unwind(-1, %s)", strerror (op_errno)); - STACK_UNWIND (frame, -1, op_errno, NULL, 0, NULL); + STACK_UNWIND (frame, -1, op_errno, NULL, 0, NULL, NULL); return 0; } @@ -1093,7 +1093,7 @@ error_gen_setdents (call_frame_t *frame, op_errno = error_gen(this); if (op_errno) { GF_ERROR(this, "unwind(-1, %s)", strerror (op_errno)); - STACK_UNWIND (frame, -1, op_errno, NULL, 0); + STACK_UNWIND (frame, -1, op_errno); return 0; } @@ -1352,7 +1352,7 @@ error_gen_removexattr (call_frame_t *frame, op_errno = error_gen(this); if (op_errno) { GF_ERROR(this, "unwind(-1, %s)", strerror (op_errno)); - STACK_UNWIND (frame, -1, op_errno, NULL); + STACK_UNWIND (frame, -1, op_errno); return 0; } -- cgit