This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-utils.git tree:
Subject: media-ctl: Pass a positive error value to strerror() Author: Laurent Pinchart <[email protected]> Date: Sat Jun 21 10:26:47 2014 +0200 Negative error values are passed to the strerror() function which takes positive error value arguments. Fix it. Signed-off-by: Laurent Pinchart <[email protected]> utils/media-ctl/media-ctl.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=a6a8043471c97bbe4beb23d50bca5552c48b670f diff --git a/utils/media-ctl/media-ctl.c b/utils/media-ctl/media-ctl.c index 36be7a5..f89d024 100644 --- a/utils/media-ctl/media-ctl.c +++ b/utils/media-ctl/media-ctl.c @@ -584,13 +584,13 @@ int main(int argc, char **argv) ret = v4l2_subdev_query_dv_timings(pad->entity, &timings); if (ret < 0) { - printf("Failed to query DV timings: %s\n", strerror(ret)); + printf("Failed to query DV timings: %s\n", strerror(-ret)); goto out; } ret = v4l2_subdev_set_dv_timings(pad->entity, &timings); if (ret < 0) { - printf("Failed to set DV timings: %s\n", strerror(ret)); + printf("Failed to set DV timings: %s\n", strerror(-ret)); goto out; } } _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
