summaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-09-09 18:03:41 +0200
committerUros Majstorovic <majstor@majstor.org>2017-09-09 18:03:41 +0200
commit811d0032484bbc820355da8a3c401d44949b49e8 (patch)
tree7281ff5d20749c3218f0a79e55fd8ced03b2aecb /code
parentf80da46b5117930349a5d033857c94f659f687ce (diff)
video test prints to stderr
Diffstat (limited to 'code')
-rw-r--r--code/test/vid/cap.c2
1 files changed, 1 insertions, 1 deletions
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)))