summaryrefslogtreecommitdiffstats
path: root/libsensors/InputEventReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors/InputEventReader.cpp')
-rw-r--r--libsensors/InputEventReader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libsensors/InputEventReader.cpp b/libsensors/InputEventReader.cpp
index 964eda5..4d1ebbd 100644
--- a/libsensors/InputEventReader.cpp
+++ b/libsensors/InputEventReader.cpp
@@ -65,8 +65,7 @@ ssize_t InputEventCircularReader::fill(int fd)
iov[0].iov_base = mHead;
iov[0].iov_len = numFirst * sizeof(input_event);
- if (numSecond > 0)
- {
+ if (numSecond > 0) {
iovcnt++;
iov[1].iov_base = mBuffer;
iov[1].iov_len = numSecond * sizeof(input_event);