| Index: ui/events/ozone/evdev/key_event_converter.cc
|
| diff --git a/ui/events/ozone/evdev/key_event_converter.cc b/ui/events/ozone/evdev/key_event_converter.cc
|
| index b99200e142ea10d06da26d1c930737f22d7d6bc2..7949727ec6c9406da69722b08b9567043b0eebee 100644
|
| --- a/ui/events/ozone/evdev/key_event_converter.cc
|
| +++ b/ui/events/ozone/evdev/key_event_converter.cc
|
| @@ -215,7 +215,8 @@ void KeyEventConverterEvdev::OnFileCanReadWithoutBlocking(int fd) {
|
| if (read_size < 0) {
|
| if (errno == EINTR || errno == EAGAIN)
|
| return;
|
| - PLOG(ERROR) << "error reading device " << path_.value();
|
| + if (errno != ENODEV)
|
| + PLOG(ERROR) << "error reading device " << path_.value();
|
| Stop();
|
| return;
|
| }
|
|
|