summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2016-05-20 19:25:54 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2016-05-20 19:25:54 +0000
commit4803552466754b0c1d796b1dc7632b99e8f87376 (patch)
tree9345623951b11f4c4effa147aed273c53bdee900
parent4a3390f1c5393143478ee646cf2d6e5436e40c82 (diff)
Fix pasto; v4l2_buf.flags = V4L2_MEMORY_MMAP -> V4L2_BUF_FLAG_MAPPED.
From Patrick Keshishian, thanks!
-rw-r--r--sys/dev/usb/uvideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c
index c083bc33169..d27346f63a1 100644
--- a/sys/dev/usb/uvideo.c
+++ b/sys/dev/usb/uvideo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.c,v 1.185 2016/05/17 08:27:17 kettenis Exp $ */
+/* $OpenBSD: uvideo.c,v 1.186 2016/05/20 19:25:53 mglocker Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
@@ -3202,7 +3202,7 @@ uvideo_reqbufs(void *v, struct v4l2_requestbuffers *rb)
sc->sc_mmap[i].v4l2_buf.sequence = 0;
sc->sc_mmap[i].v4l2_buf.field = V4L2_FIELD_NONE;
sc->sc_mmap[i].v4l2_buf.memory = V4L2_MEMORY_MMAP;
- sc->sc_mmap[i].v4l2_buf.flags = V4L2_MEMORY_MMAP;
+ sc->sc_mmap[i].v4l2_buf.flags = V4L2_BUF_FLAG_MAPPED;
DPRINTF(1, "%s: %s: index=%d, offset=%d, length=%d\n",
DEVNAME(sc), __func__,