From 811d0032484bbc820355da8a3c401d44949b49e8 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 9 Sep 2017 18:03:41 +0200 Subject: video test prints to stderr --- code/test/vid/cap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/test/vid/cap.c b/code/test/vid/cap.c index a99e034..f210bf3 100644 --- a/code/test/vid/cap.c +++ b/code/test/vid/cap.c @@ -64,7 +64,7 @@ #define CAP_OK 0 #define CAP_ERROR -1 #define CAP_ERROR_RET(s) { \ - printf("v4l2: %s\n", s); \ + fprintf(stderr, "v4l2: %s\n", s); \ return CAP_ERROR; \ } #define CAP_CLIP(val, min, max) (((val) > (max)) ? (max) : (((val) < (min)) ? (min) : (val))) -- cgit v1.2.3