From: Masatake YAMATO Date: Sat, 18 Feb 2023 15:11:45 +0000 (+0900) Subject: lsfd: revise the comment for UNIX_LINE_LEN X-Git-Tag: v2.39-rc1~52^2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e8e14a28bae38f6b2fb349d3bc9b186847aac2b4;p=thirdparty%2Futil-linux.git lsfd: revise the comment for UNIX_LINE_LEN The orignal comment was not understandable. Signed-off-by: Masatake YAMATO --- diff --git a/misc-utils/lsfd-sock-xinfo.c b/misc-utils/lsfd-sock-xinfo.c index ed1ce310c2..2d34906113 100644 --- a/misc-utils/lsfd-sock-xinfo.c +++ b/misc-utils/lsfd-sock-xinfo.c @@ -350,7 +350,7 @@ static const struct sock_xinfo_class unix_xinfo_class = { .free = NULL, }; -/* #define UNIX_LINE_LEN 54 + 21 + UNIX_LINE_LEN + 1 +/* UNIX_LINE_LEN need at least 54 + 21 + UNIX_PATH_MAX + 1. * * An actual number must be used in this definition * since UNIX_LINE_LEN is specified as an argument for