From fd6bd9d9090213d4644fc0a96f06fb34ce5365fc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 25 Jun 2023 23:22:40 +0200 Subject: Some code improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print.c') diff --git a/print.c b/print.c index 77f8f48..01d19c8 100644 --- a/print.c +++ b/print.c @@ -864,7 +864,7 @@ print_nonconst_sockaddr(struct process *proc, size_t arg_index) socklen_t saved_len; void *mem; const char *err; - if (proc->state == Syscall) { + if (proc->state == KernelSpace) { /* on return */ saved_len = (socklen_t)proc->save[arg_index + 1]; len = len < saved_len ? len : saved_len; -- cgit v1.2.3-70-g09d2