From 6662052f2343710a829ab659608df27994edabb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= Date: Sat, 22 Apr 2023 11:48:55 +0200 Subject: ls-tree: Print PCI domains in ascending order --- lspci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lspci.h') diff --git a/lspci.h b/lspci.h index d6a27a2..160c65a 100644 --- a/lspci.h +++ b/lspci.h @@ -88,7 +88,7 @@ void show_kernel_cleanup(void); struct bridge { struct bridge *chain; /* Single-linked list of bridges */ - struct bridge *prev, *child; /* Tree of bridges */ + struct bridge *next, *prev, *child; /* Tree of bridges */ struct bus *first_bus, *last_bus; /* List of buses connected to this bridge */ unsigned int domain; unsigned int primary, secondary, subordinate; /* Bus numbers */ -- cgit v1.2.1