aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-05-28 11:58:34 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-05-28 11:58:34 +0200
commit36dc44e68e5886339b4a0fbe3f404fb1a4fd2292 (patch)
tree173778349ec02d3aa8cf9f7349ff139631bfbeaa
parent8e3feea862db68d3ca0886f46cd99fab45d2db7c (diff)
v4l-conf: simplify stat messageHEADmaster
No need to print an error code here. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--console/v4l-conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console/v4l-conf.c b/console/v4l-conf.c
index c96886b..0e8d3e3 100644
--- a/console/v4l-conf.c
+++ b/console/v4l-conf.c
@@ -143,7 +143,7 @@ dev_open(const char *device, int major)
/* First check if the device is really a devnode of the right type */
if (-1 == stat(device, &stb)) {
- fprintf(stderr, "stat(%s): %s\n", device, strerror(errno));
+ fprintf(stderr, "stat failed on %s\n", device);
exit(1);
}

Privacy Policy