diff options
author | Dafna Hirschfeld <dafna3@gmail.com> | 2019-03-30 14:33:40 -0700 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-03-31 13:04:07 +0200 |
commit | 0dbe0b725a245b9be9b1347f0cb7ac0f16df8c70 (patch) | |
tree | 9320041e733ae37dfc9cccb750af47149b1f8e61 | |
parent | e76fa6d06686e53e98069afc0bcf215fbbfb664a (diff) |
v4l2-ctl: fix debug prints
replace 'set_fwht_ext_ctrls' with 'set_fwht_ext_ctrl'
in debug prints
Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r-- | utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp index 28bc8c68..daa93968 100644 --- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp @@ -1249,7 +1249,7 @@ static int do_setup_out_buffers(cv4l_fd &fd, cv4l_queue &q, FILE *fin, bool qbuf if (set_fwht_ext_ctrl(fd, &last_fwht_hdr, last_fwht_bf_ts, buf.g_request_fd())) { - fprintf(stderr, "%s: set_fwht_ext_ctrls failed on %dth buf: %s\n", + fprintf(stderr, "%s: set_fwht_ext_ctrl failed on %dth buf: %s\n", __func__, i, strerror(errno)); return QUEUE_ERROR; } @@ -1539,7 +1539,7 @@ static int do_handle_out(cv4l_fd &fd, cv4l_queue &q, FILE *fin, cv4l_buffer *cap if (set_fwht_ext_ctrl(fd, &last_fwht_hdr, last_fwht_bf_ts, buf.g_request_fd())) { - fprintf(stderr, "%s: set_fwht_ext_ctrls failed: %s\n", + fprintf(stderr, "%s: set_fwht_ext_ctrl failed: %s\n", __func__, strerror(errno)); return QUEUE_ERROR; } |