test_vt: fix compilation with new allocation API
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Sep 2012 13:15:06 +0000 (15:15 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Sep 2012 13:15:06 +0000 (15:15 +0200)
We changed the uterm API so we need to fix this test again.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
tests/test_vt.c

index 9302815..bc3e235 100644 (file)
@@ -102,7 +102,8 @@ int main(int argc, char **argv)
        if (ret)
                goto err_exit;
 
-       ret = uterm_vt_allocate(vtm, &vt, NULL, NULL, NULL, NULL);
+       ret = uterm_vt_allocate(vtm, &vt, NULL, NULL, UTERM_VT_DEFAULT, NULL,
+                               NULL);
        if (ret)
                goto err_vtm;