OSDN Git Service

apparmor: Fix spelling of function name in comment block
authorYang Li <yang.lee@linux.alibaba.com>
Fri, 14 Oct 2022 08:42:55 +0000 (16:42 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Tue, 25 Oct 2022 07:15:19 +0000 (00:15 -0700)
'resouce' -> 'resource'

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2396
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/resource.c

index 1b75d83..e859481 100644 (file)
@@ -68,7 +68,7 @@ static int audit_resource(struct aa_profile *profile, unsigned int resource,
 }
 
 /**
- * aa_map_resouce - map compiled policy resource to internal #
+ * aa_map_resource - map compiled policy resource to internal #
  * @resource: flattened policy resource number
  *
  * Returns: resource # for the current architecture.