summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-02-11 07:07:48 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-02-20 00:47:04 -0800
commit23a318db143764ba62dce004fa1d774bd97bbba2 (patch)
tree6b5545298fcf51217de016b8260af9458bcdb481 /xlators
parentd655a395d24eed54f48ba8d3398ddefcdea554db (diff)
debug/error-gen: unwind with appropriate number and type of arguments.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 608 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=608
Diffstat (limited to 'xlators')
-rw-r--r--xlators/debug/error-gen/src/error-gen.c6
1 files 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 8e0fb053403..364351dd4cc 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;
}