diff mbox series

[v4l-utils,2/3] v4l2-ctl: fix debug prints

Message ID 20190330213341.107939-2-dafna3@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v4l-utils,1/3] v4l2-ctl: declare hdr variable as const | expand

Commit Message

Dafna Hirschfeld March 30, 2019, 9:33 p.m. UTC
replace 'set_fwht_ext_ctrls' with 'set_fwht_ext_ctrl'
in debug prints

Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
---
 utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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;
 		}