aboutsummaryrefslogtreecommitdiffstats
path: root/utils/v4l2-dbg
diff options
context:
space:
mode:
Diffstat (limited to 'utils/v4l2-dbg')
-rw-r--r--utils/v4l2-dbg/v4l2-dbg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/v4l2-dbg/v4l2-dbg.cpp b/utils/v4l2-dbg/v4l2-dbg.cpp
index f2fd8269..86266376 100644
--- a/utils/v4l2-dbg/v4l2-dbg.cpp
+++ b/utils/v4l2-dbg/v4l2-dbg.cpp
@@ -19,7 +19,6 @@
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
-#include <string.h>
#include <inttypes.h>
#include <getopt.h>
#include <sys/types.h>
@@ -43,6 +42,7 @@
#include <linux/videodev2.h>
+#include <cstring>
#include <list>
#include <vector>
#include <map>
@@ -731,7 +731,7 @@ int main(int argc, char **argv)
goto list_done;
}
- p = strchr(chip_info.name, ' ');
+ p = std::strchr(chip_info.name, ' ');
if (p)
*p = '\0';
name = chip_info.name;

Privacy Policy