Signed-off-by: Peter Hutterer <[email protected]>
---
tools/list-local-devices.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/list-local-devices.c b/tools/list-local-devices.c
index 3dbba3d..1702790 100644
--- a/tools/list-local-devices.c
+++ b/tools/list-local-devices.c
@@ -47,6 +47,8 @@ int main(int argc, char **argv)
struct dirent **namelist = NULL;
db = libwacom_database_new_for_path(TOPSRCDIR"/data");
+ if (!db)
+ db = libwacom_database_new();
if (!db) {
fprintf(stderr, "Failed to initialize device database\n");
return 1;
--
1.7.10
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel