From: Masatake YAMATO Date: Mon, 20 Feb 2023 15:10:53 +0000 (+0900) Subject: lsfd: delete an unnecessary cast operation X-Git-Tag: v2.39-rc1~52^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ac8d1a377bffc6942f86210915c07e85c6d8de1;p=thirdparty%2Futil-linux.git lsfd: delete an unnecessary cast operation Signed-off-by: Masatake YAMATO --- diff --git a/misc-utils/lsfd-sock-xinfo.c b/misc-utils/lsfd-sock-xinfo.c index 30103b5013..ed1ce310c2 100644 --- a/misc-utils/lsfd-sock-xinfo.c +++ b/misc-utils/lsfd-sock-xinfo.c @@ -399,7 +399,7 @@ static void load_xinfo_from_proc_unix(ino_t netns_inode) ux->st = st; xstrncpy(ux->path, path, sizeof(ux->path)); - add_sock_info((struct sock_xinfo *)ux); + add_sock_info(&ux->sock); } out: