diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2012-01-24 13:43:21 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-01-25 15:47:41 +0100 |
commit | 42ad18e4d639f17f3e57ba4ed330cd555605b178 (patch) | |
tree | 99a6bf6060542d84484eded1fae026912d805f27 /include/linux/videodev2.h | |
parent | e6062dc3643b64cb009c12edef1395d2b5504f4a (diff) |
warn if written size is different to original one
This patch also eliminates compiler warning:
yavta.c: In function ‘video_save_image’:
yavta.c:974:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[Print different messages depending on whether the return value is
negative or positive]
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/linux/videodev2.h')
0 files changed, 0 insertions, 0 deletions