File oyranos_CUPS_fix_wrong_object_passing.patch of Package oyranos

diff --git a/modules/devices/oyranos_cmm_CUPS.c b/modules/devices/oyranos_cmm_CUPS.c
index e475d5f..e76c1a3 100644
--- a/modules/devices/oyranos_cmm_CUPS.c
+++ b/modules/devices/oyranos_cmm_CUPS.c
@@ -1148,7 +1148,7 @@ int CUPSgetProfiles                  ( const char        * device_name,
             size_t size = 0;
             int tempfd = 0;
 
-            message(oyMSG_WARN, (oyStruct_s*)options, _DBG_FORMAT_ "\n "
+            message(oyMSG_WARN, (oyStruct_s*)user_options, _DBG_FORMAT_ "\n "
                 "Could not obtain profile information for %s. Downloading new profile: '%s'.",
                 _DBG_ARGS_, device_name?device_name:"???", profile_name);
            
openSUSE Build Service is sponsored by