summaryrefslogtreecommitdiff
path: root/code/test/vid/cap.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/test/vid/cap.c')
-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)))