projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d0f3c
)
libv4l2: Fix shadowing declaration of saved_err
author
Hans de Goede
<hdegoede@redhat.com>
Fri, 7 Oct 2011 07:19:41 +0000
(09:19 +0200)
committer
Hans de Goede
<hdegoede@redhat.com>
Sun, 16 Oct 2011 14:31:32 +0000
(16:31 +0200)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
lib/libv4l2/libv4l2.c
patch
|
blob
|
history
diff --git
a/lib/libv4l2/libv4l2.c
b/lib/libv4l2/libv4l2.c
index
366f8c5
..
977179a
100644
(file)
--- a/
lib/libv4l2/libv4l2.c
+++ b/
lib/libv4l2/libv4l2.c
@@
-1238,8
+1238,7
@@
no_capture_request:
devices[index].dev_ops_priv,
fd, VIDIOC_DQBUF, buf);
if (result) {
- int saved_err = errno;
-
+ saved_err = errno;
V4L2_LOG_ERR("dequeuing buf: %s\n", strerror(errno));
errno = saved_err;
}