diff --git a/utils/apparmor/common.py b/utils/apparmor/common.py index fac1901a0..b4215d285 100644 --- a/utils/apparmor/common.py +++ b/utils/apparmor/common.py @@ -278,7 +278,7 @@ def combine_profname(name_parts): """combine name_parts (main profile, child) into a joint main//child profile name""" if not isinstance(name_parts, list): - raise AppArmorBug('combine_name() called with parameter of type %s, must be a list' % type(name_parts)) + raise AppArmorBug('combine_profname() called with parameter of type %s, must be a list' % type(name_parts)) # if last item is None, drop it (can happen when called with [profile, hat] when hat is None) if name_parts[len(name_parts)-1] is None: