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: v4l2gl/v4l2grab: fix errno assignment in while loop Author: Andreas Weber <[email protected]> Date: Thu Jan 16 18:43:31 2014 +0100 Signed-off-by: Andreas Weber <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> contrib/test/v4l2gl.c | 2 +- contrib/test/v4l2grab.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=918d62031beb0132f777b67b538cf225a57250f3 diff --git a/contrib/test/v4l2gl.c b/contrib/test/v4l2gl.c index e921212..4b549c1 100644 --- a/contrib/test/v4l2gl.c +++ b/contrib/test/v4l2gl.c @@ -224,7 +224,7 @@ static int capture(char *dev_name, int x_res, int y_res, int n_frames, tv.tv_usec = 0; r = select(fd + 1, &fds, NULL, NULL, &tv); - } while ((r == -1 && (errno = EINTR))); + } while ((r == -1 && (errno == EINTR))); if (r == -1) { perror("select"); return errno; diff --git a/contrib/test/v4l2grab.c b/contrib/test/v4l2grab.c index a93ad43..14d2a8f 100644 --- a/contrib/test/v4l2grab.c +++ b/contrib/test/v4l2grab.c @@ -129,7 +129,7 @@ static int capture(char *dev_name, int x_res, int y_res, int n_frames, tv.tv_usec = 0; r = select(fd + 1, &fds, NULL, NULL, &tv); - } while ((r == -1 && (errno = EINTR))); + } while ((r == -1 && (errno == EINTR))); if (r == -1) { perror("select"); return errno; _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
