From c86340e171ebbb4b11e986d172e9b27535ae1807 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 22 Feb 2012 00:23:52 +0000 Subject: [PATCH] Fix sockaddr_un.sun_path name in decoded output * net.c (printsock): Show sockaddr_un.sun_path as "sun_path". This fixes Debian bug #554946. --- net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net.c b/net.c index 67acfb81..1cee545e 100644 --- a/net.c +++ b/net.c @@ -1265,10 +1265,10 @@ printsock(struct tcb *tcp, long addr, int addrlen) if (addrlen == 2) { tprints("NULL"); } else if (addrbuf.sau.sun_path[0]) { - tprints("path="); + tprints("sun_path="); printpathn(tcp, addr + 2, strlen(addrbuf.sau.sun_path)); } else { - tprints("path=@"); + tprints("sun_path=@"); printpathn(tcp, addr + 3, strlen(addrbuf.sau.sun_path + 1)); } break;