* Fixed warning.
* Now using the new %f flag to print the level of support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19584 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
dedf1bccfe
commit
9a4b4c617b
|
@ -364,7 +364,7 @@ static status_t
|
||||||
notify_probe_by_file(device_node_info *node, const char *fileName)
|
notify_probe_by_file(device_node_info *node, const char *fileName)
|
||||||
{
|
{
|
||||||
char *bus;
|
char *bus;
|
||||||
int i, suffix_length;
|
size_t i, suffix_length;
|
||||||
const char *module_name;
|
const char *module_name;
|
||||||
const char device_suffix[] = "_device_v1";
|
const char device_suffix[] = "_device_v1";
|
||||||
status_t res;
|
status_t res;
|
||||||
|
@ -830,7 +830,7 @@ register_supporting_child_devices(device_node_info *node, struct list *list)
|
||||||
}
|
}
|
||||||
|
|
||||||
entry->support = entry->driver->supports_device(node, &entry->no_connection);
|
entry->support = entry->driver->supports_device(node, &entry->no_connection);
|
||||||
dprintf("module: %s, support: %d\n", entry->name, (int)(entry->support * 1000));
|
dprintf("module: %s, support: %f\n", entry->name, entry->support);
|
||||||
|
|
||||||
if (!hasConnection)
|
if (!hasConnection)
|
||||||
entry->no_connection = true;
|
entry->no_connection = true;
|
||||||
|
|
Loading…
Reference in New Issue