diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-28 11:58:34 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-28 11:58:34 +0200 |
commit | 36dc44e68e5886339b4a0fbe3f404fb1a4fd2292 (patch) | |
tree | 173778349ec02d3aa8cf9f7349ff139631bfbeaa | |
parent | 8e3feea862db68d3ca0886f46cd99fab45d2db7c (diff) |
No need to print an error code here.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r-- | console/v4l-conf.c | 2 |
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); } |