coco3: graphics: put uget's arguments in correct order.
authorBrett Gordon <beretta42@gmail.com>
Tue, 13 Oct 2015 13:02:53 +0000 (09:02 -0400)
committerBrett Gordon <beretta42@gmail.com>
Tue, 13 Oct 2015 13:10:42 +0000 (09:10 -0400)
Kernel/platform-coco3/video.c

index 3c1f1f9..e259584 100644 (file)
@@ -129,7 +129,7 @@ int gfx_draw_op(uarg_t arg, char *ptr)
        }
        if (arg != GFXIOC_READ)
                c = l;
-       if (uget((char *)0x5e00, ptr + 2, c)){
+       if (uget(ptr + 2, (char *)0x5e00, c)){
                err = EFAULT;
                goto ret;
        }