diff --git a/gstreamer/src/subclass/plugin.rs b/gstreamer/src/subclass/plugin.rs index 247ae8c14..c5ef52321 100644 --- a/gstreamer/src/subclass/plugin.rs +++ b/gstreamer/src/subclass/plugin.rs @@ -118,7 +118,7 @@ macro_rules! plugin_define( if let Some(cause) = cause { $crate::error!($crate::CAT_PLUGIN_LOADING, "Failed to initialize plugin due to panic: {}", cause); } else { - $crate::error!(cat, "Failed to initialize plugin due to panic"); + $crate::error!($crate::CAT_PLUGIN_LOADING, "Failed to initialize plugin due to panic"); } $crate::glib::ffi::GFALSE