This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/xawtv3.git tree:
Subject: Check the return value properly in debug print as well Author: Dmitry Butskoy <[email protected]> Date: Wed Feb 16 17:23:49 2011 -0200 Signed-off-by: Mauro Carvalho Chehab <[email protected]> libng/plugins/drv0-v4l2.tmpl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- http://git.linuxtv.org/xawtv3.git?a=commitdiff;h=4090d6f26939d869f5055f6478e7c219ebe4d4fa diff --git a/libng/plugins/drv0-v4l2.tmpl.c b/libng/plugins/drv0-v4l2.tmpl.c index 7a70a55..f8e664f 100644 --- a/libng/plugins/drv0-v4l2.tmpl.c +++ b/libng/plugins/drv0-v4l2.tmpl.c @@ -184,7 +184,7 @@ xioctl(int fd, int cmd, void *arg, int mayfail) if (mayfail && errno == mayfail && ng_debug < 2) return rc; print_ioctl(stderr,ioctls_v4l2,PREFIX,cmd,arg); - fprintf(stderr,": %s\n",(rc == 0) ? "ok" : strerror(errno)); + fprintf(stderr,": %s\n",(rc >= 0) ? "ok" : strerror(errno)); return rc; } _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
