Signed-off-by: Peter Hutterer <[email protected]>
---
libwacom/libwacom.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libwacom/libwacom.c b/libwacom/libwacom.c
index 2a8e3f8..accb941 100644
--- a/libwacom/libwacom.c
+++ b/libwacom/libwacom.c
@@ -163,8 +163,8 @@ get_device_info (const char *path,
} else if (*bus == WBUSTYPE_SERIAL) {
/* FIXME This matches the declaration in serial-wacf004.tablet
* Might not be good enough though */
- vendor_id = 0;
- product_id = 0;
+ *vendor_id = 0;
+ *product_id = 0;
} else {
libwacom_error_set(error, WERROR_UNKNOWN_MODEL, "Unsupported
bus '%s'", bus_str);
goto bail;
--
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