Tiny cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41689 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ce44796e34
commit
fe81732aca
@ -144,7 +144,7 @@ Device::Device(Object *parent, int8 hubAddress, uint8 hubPort,
|
||||
TRACE("\tinterface:..........%d\n", interfaceDescriptor->interface);
|
||||
|
||||
if (interfaceDescriptor->interface_number >= fConfigurations[i].interface_count) {
|
||||
interfaceDescriptor->interface_number = fConfigurations[i].interface_count -1;
|
||||
interfaceDescriptor->interface_number = fConfigurations[i].interface_count - 1;
|
||||
TRACE_ERROR("Corrected invalid interface_number!\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user