summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-03-29 12:22:13 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-03-29 14:10:05 +1000
commit65a4f3dc7075f8f0152529c041d7793c09b556da (patch)
treeb6b9eb1bf8298c9d5c10d67171b120177c0ab0fb
parenta73f318b689a44fdeecf4373ade9cd5ecac164f9 (diff)
lib: fix error message
device->match is NULL since we haven't assigned it yet. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--libwacom/libwacom-database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c
index cf8a6e2..bb2cf6a 100644
--- a/libwacom/libwacom-database.c
+++ b/libwacom/libwacom-database.c
@@ -295,7 +295,7 @@ libwacom_parse_tablet_keyfile(const char *path)
device->match = match;
} else {
if (!libwacom_matchstr_to_ints(match, &device->vendor_id, &device->product_id, &device->bus)) {
- DBG("failed to match '%s' for product/vendor IDs in '%s'\n", device->match, path);
+ DBG("failed to match '%s' for product/vendor IDs in '%s'\n", match, path);
g_free (match);
g_free (device);
device = NULL;