]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd: revise the comment for UNIX_LINE_LEN
authorMasatake YAMATO <yamato@redhat.com>
Sat, 18 Feb 2023 15:11:45 +0000 (00:11 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Sun, 26 Feb 2023 08:26:13 +0000 (17:26 +0900)
The orignal comment was not understandable.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd-sock-xinfo.c

index ed1ce310c25a0f103698bd783d9c498de150b9d4..2d349061132f61434fdb3700608772ab796b42ed 100644 (file)
@@ -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