aboutgitcodelistschat:MatrixIRC
diff options
context:
space:
mode:
-rw-r--r--cooker/emit.c2
-rw-r--r--cooker/filter.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/cooker/emit.c b/cooker/emit.c
index ce325f1..efe70eb 100644
--- a/cooker/emit.c
+++ b/cooker/emit.c
@@ -119,7 +119,7 @@ void emit_call(struct gluten_ctx *g, struct context_desc *cdesc, long nr,
memcpy(desc->args, offset, sizeof(struct gluten_offset) * count);
desc->args[count] = ret_offset;
- debug(" %i: OP_CALL: %i, arguments:", g->ip.offset, nr);
+ debug(" %i: OP_CALL: %s, arguments:", g->ip.offset, syscall_name_str[nr]);
for (i = 0; i < count; i++) {
debug("\t%i: %s %s%i", i, gluten_offset_name[offset[i].type],
is_ptr[i] ? "*" : "", offset[i].offset);
diff --git a/cooker/filter.c b/cooker/filter.c
index 4a06111..e0c8081 100644
--- a/cooker/filter.c
+++ b/cooker/filter.c
@@ -126,9 +126,9 @@ void filter_add_check(struct bpf_field *field)
check = &entry->field[entry_check_count(entry)];
- debug(" BPF: inserting check at %i for entry %i, syscall %lu",
+ debug(" BPF: inserting check at %i for entry %i, syscall %s",
entry_check_count(entry), call_entry_count(current_nr),
- current_nr);
+ syscall_name_str[current_nr]);
memcpy(check, field, sizeof(*field));
}