aboutgitcodelistschat:MatrixIRC
path: root/cooker/emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cooker/emit.c')
-rw-r--r--cooker/emit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cooker/emit.c b/cooker/emit.c
index a257398..1a7f3a9 100644
--- a/cooker/emit.c
+++ b/cooker/emit.c
@@ -332,12 +332,12 @@ void emit_cmp_field(struct gluten_ctx *g, enum op_cmp_type cmp,
/**
* emit_return() - Emit OP_RETURN instruction: return value
* @g: gluten context
- * @v: offset of the return value
- * @error: error value
- * @cont if the filtered syscall needs to be executed
+ * @v: Offset of return value
+ * @error: Offset of error value
+ * @cont: Continue syscall execution, if true
*/
-void emit_return(struct gluten_ctx *g, struct gluten_offset v, int32_t error,
- bool cont)
+void emit_return(struct gluten_ctx *g, struct gluten_offset v,
+ struct gluten_offset error, bool cont)
{
struct op *op = (struct op *)gluten_ptr(&g->g, g->ip);
struct op_return *ret = &op->op.ret;