aboutsummaryrefslogtreecommitdiff
path: root/unstable/linux-dmabuf
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-12-08 01:17:52 +0100
committerDaniel Stone <daniels@collabora.com>2022-01-17 14:54:49 +0000
commitc2ceb5f14d0af04c248e03c125d2ed85980cf806 (patch)
tree23111c92ba25b2db0b6db441b6c7fa334ff1e2e6 /unstable/linux-dmabuf
parenta52b8f025a50aabb88335bbde4ff66fa514a1407 (diff)
linux-dmabuf: fix typo in dev_t example code
dev_t is not a struct, it's a typedef. Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'unstable/linux-dmabuf')
-rw-r--r--unstable/linux-dmabuf/feedback.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/unstable/linux-dmabuf/feedback.rst b/unstable/linux-dmabuf/feedback.rst
index 0f6e1b5..a3f94ed 100644
--- a/unstable/linux-dmabuf/feedback.rst
+++ b/unstable/linux-dmabuf/feedback.rst
@@ -180,7 +180,7 @@ A client can decode the values as follows:
.. code-block:: c
- struct dev_t dev;
+ dev_t dev;
assert(dev_array->size == sizeof(dev));
memcpy(&dev, dev_array->data, sizeof(dev));