projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b63c7c
)
test: Fix test device type validity check
author
Jonas Ådahl
<jadahl@gmail.com>
Tue, 25 Mar 2014 21:56:01 +0000
(22:56 +0100)
committer
Jonas Ådahl
<jadahl@gmail.com>
Tue, 22 Apr 2014 22:07:40 +0000
(
00:07
+0200)
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c
patch
|
blob
|
history
diff --git
a/test/litest.c
b/test/litest.c
index af7fd39f47f95fb79acd0f5d4a24e775fe82b99a..8eebf6eb63fad4b9f26f10ca6bf7f58aa7d5de82 100644
(file)
--- 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));