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:
François Revol 2009-08-30 00:27:13 +00:00
parent fbaa0b510d
commit 39d6a07862

View File

@ -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);
}