summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libhwcomposer/hwc.cpp')
-rw-r--r--libhwcomposer/hwc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhwcomposer/hwc.cpp b/libhwcomposer/hwc.cpp
index eac7ffc..14eda8a 100644
--- a/libhwcomposer/hwc.cpp
+++ b/libhwcomposer/hwc.cpp
@@ -362,7 +362,7 @@ static void hwc_hdmi_thread(void* data)
362 if (pfds[0].revents & POLLIN) { 362 if (pfds[0].revents & POLLIN) {
363 /* keep last 2 zeroes to ensure double 0 termination */ 363 /* keep last 2 zeroes to ensure double 0 termination */
364 uevent_next_event(uevent_desc, sizeof(uevent_desc) - 2); 364 uevent_next_event(uevent_desc, sizeof(uevent_desc) - 2);
365 if (strlen(hdmi_uevent_path) <= 0 || strcmp(uevent_desc, hdmi_uevent_path)) 365 if (strlen(uevent_desc) <= 0 || strcmp(uevent_desc, hdmi_uevent_path))
366 continue; /* event not for us */ 366 continue; /* event not for us */
367 367
368 state = check_hotplug_status(hwc_dev, state); 368 state = check_hotplug_status(hwc_dev, state);