diff options
author | Maria Matejka <mq@ucw.cz> | 2023-02-28 10:42:47 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-04 17:00:59 +0200 |
commit | d9f0f4af7dc49c22232cc3be5e40866fc7d5dda7 (patch) | |
tree | 1b1972793ac880c067d9f89428f2fff1385f9199 /sysdep/unix/io.c | |
parent | 8e6abea41eca5c18b03e46706cbfa2972085f954 (diff) |
Resource dumps also write out block addresses
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index fc1586ff..78908676 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -76,7 +76,7 @@ rf_free(resource *r) } static void -rf_dump(resource *r) +rf_dump(resource *r, unsigned indent UNUSED) { struct rfile *a = (struct rfile *) r; @@ -862,7 +862,7 @@ sk_reallocate(sock *s) } static void -sk_dump(resource *r) +sk_dump(resource *r, unsigned indent UNUSED) { sock *s = (sock *) r; static char *sk_type_names[] = { "TCP<", "TCP>", "TCP", "UDP", NULL, "IP", NULL, "MAGIC", "UNIX<", "UNIX", "SSH>", "SSH", "DEL!" }; @@ -2053,7 +2053,7 @@ sk_dump_all(void) { s = SKIP_BACK(sock, n, n); debug("%p ", s); - sk_dump(&s->r); + sk_dump(&s->r, 3); } debug("\n"); } |