Signed-off-by: Jonas Ådahl <[email protected]>
---
test/litest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/litest.c b/test/litest.c
index 495871c..f329312 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -418,7 +418,7 @@ litest_create(enum litest_device_type which,
dev++;
}
- if (!dev)
+ if (!*dev)
ck_abort_msg("Invalid device type %d\n", which);
d = zalloc(sizeof(*d));
--
1.8.3.2
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel