summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--v4l2-drm-example/dmabuf-sharing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l2-drm-example/dmabuf-sharing.c b/v4l2-drm-example/dmabuf-sharing.c
index 6f21de2..7577a6e 100644
--- a/v4l2-drm-example/dmabuf-sharing.c
+++ b/v4l2-drm-example/dmabuf-sharing.c
@@ -145,7 +145,7 @@ static void usage(char *name)
static inline int parse_rect(char *s, struct v4l2_rect *r)
{
return sscanf(s, "%d,%d@%d,%d", &r->width, &r->height,
- &r->top, &r->left) != 4;
+ &r->left, &r->top) != 4;
}
static int parse_args(int argc, char *argv[], struct setup *s)