Commit c2ceb5f1 authored by Simon Ser's avatar Simon Ser Committed by Daniel Stone
Browse files

linux-dmabuf: fix typo in dev_t example code



dev_t is not a struct, it's a typedef.
Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
parent a52b8f02
Pipeline #485709 passed with stages
in 52 seconds
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment