diff --git a/src/_imagingcms.c b/src/_imagingcms.c index 13a013ced..a79c0c1b5 100644 --- a/src/_imagingcms.c +++ b/src/_imagingcms.c @@ -1016,7 +1016,7 @@ static PyObject* cms_profile_getattr_pcs(CmsProfileObject* self, void* closure) { PyErr_WarnEx(PyExc_DeprecationWarning, - "cms is deprecated. Use padded connection_space instead.", 1); + "pcs is deprecated. Use padded connection_space instead.", 1); return PyUnicode_DecodeFSDefault(findICmode(cmsGetPCS(self->profile))); }