mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-20 21:41:02 -04:00
Description:amend error code
Match-id-7da8cabd9c6b2dbbba9a8f268393b84446fc50f6
This commit is contained in:
@@ -452,7 +452,7 @@ int32_t InputHub::OpenInputDeviceLocked(const std::string& devicePath)
|
||||
}
|
||||
GenerateDescriptor(identifier);
|
||||
|
||||
// Allocate device. (The device object takes ownership of the fd at this point.)
|
||||
// Allocate device. (The device object takes ownership of the fd at this point.)
|
||||
int32_t deviceId = nextDeviceId_++;
|
||||
std::unique_ptr<Device> device = std::make_unique<Device>(fd, deviceId, devicePath, identifier);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user