Tiny cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41689 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2011-05-23 21:48:40 +00:00
parent ce44796e34
commit fe81732aca

View File

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