From: Robert J. <rc...@li...> - 2009-08-04 20:28:38
|
Currently, print_node_list will never print the children of a node. Just correcting a small bit of the logic. Signed-off-by: Robert Jennings <rc...@li...> --- src/drmgr/common_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/src/drmgr/common_pci.c =================================================================== --- a/src/drmgr/common_pci.c +++ b/src/drmgr/common_pci.c @@ -1171,7 +1171,7 @@ print_node_list(struct dr_node *first_no parent->drc_name, parent->loc_code); child = parent->children; - while (child && child != parent->children) { + while (child) { dbg("%s: %s\n" "\tdrc index: 0x%x description: %s\n" "\tdrc name: %s\n\tloc code: %s\n", |