Print the level for each dumped node, also serves as a delimiter, else all the PCI devices look like a mess.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32824 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fbaa0b510d
commit
39d6a07862
@ -113,6 +113,8 @@ dump_device(device_node_cookie *node, uint8 level)
|
||||
attr.value.raw.data = data;
|
||||
attr.value.raw.length = sizeof(data);
|
||||
|
||||
put_level(level);
|
||||
printf("(%d)\n", level);
|
||||
while (dm_get_next_attr(&attr) == B_OK) {
|
||||
dump_attribute(&attr, level);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user