]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd: make self_netns_sb static
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 4 Feb 2023 03:50:06 +0000 (03:50 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Sat, 4 Feb 2023 03:52:26 +0000 (03:52 +0000)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
misc-utils/lsfd-sock-xinfo.c

index 9472b9c2b5a84a47018647bcba5662333ebf905a..a7041430b1ca15df412d4061b71b3bcbe935fbf6 100644 (file)
@@ -42,7 +42,7 @@ static void load_xinfo_from_proc_tcp(ino_t netns_inode);
 static void load_xinfo_from_proc_udp(ino_t netns_inode);
 
 static int self_netns_fd = -1;
-struct stat self_netns_sb;
+static struct stat self_netns_sb;
 
 static void *xinfo_tree;       /* for tsearch/tfind */
 static void *netns_tree;