summaryrefslogtreecommitdiff
path: root/lib/compat/cd-compat-edid.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compat/cd-compat-edid.c')
-rw-r--r--lib/compat/cd-compat-edid.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/compat/cd-compat-edid.c b/lib/compat/cd-compat-edid.c
index d546aa3..1509456 100644
--- a/lib/compat/cd-compat-edid.c
+++ b/lib/compat/cd-compat-edid.c
@@ -331,9 +331,8 @@ cd_edid_get_profile (unsigned char *edid,
/* get the default profile for the device */
profile = cd_device_get_default_profile (device);
if (profile == NULL) {
- g_printerr ("No profile for %s: %s",
- cd_device_get_id (device),
- error->message);
+ g_printerr ("No profile for %s",
+ cd_device_get_id (device));
return CD_EDID_ERROR_NO_PROFILE;
}