summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libjingle/source/talk/media/devices/v4llookup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libjingle/source/talk/media/devices/v4llookup.cc')
-rw-r--r--chromium/third_party/libjingle/source/talk/media/devices/v4llookup.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/third_party/libjingle/source/talk/media/devices/v4llookup.cc b/chromium/third_party/libjingle/source/talk/media/devices/v4llookup.cc
index ff128a4ae3b..76eafa71692 100644
--- a/chromium/third_party/libjingle/source/talk/media/devices/v4llookup.cc
+++ b/chromium/third_party/libjingle/source/talk/media/devices/v4llookup.cc
@@ -12,13 +12,12 @@
#include <fcntl.h>
#include <linux/types.h>
#include <linux/videodev2.h>
+#include <string.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <cstring>
-
#include "talk/base/logging.h"
namespace cricket {
@@ -50,10 +49,10 @@ bool V4LLookup::CheckIsV4L2Device(const std::string& device_path) {
is_v4l2 = true;
} else {
- LOG(LS_ERROR) << "VIDIOC_QUERYCAP failed for " << device_path;
+ LOG_ERRNO(LS_ERROR) << "VIDIOC_QUERYCAP failed for " << device_path;
}
} else {
- LOG(LS_ERROR) << "Failed to open " << device_path;
+ LOG_ERRNO(LS_ERROR) << "Failed to open " << device_path;
}
}
}