summaryrefslogtreecommitdiff
path: root/security/apparmor/resource.c
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-10-14 16:42:55 +0800
committerJohn Johansen <john.johansen@canonical.com>2022-10-25 00:15:19 -0700
commitd44c692350d9a376abab46aa0d70587951971068 (patch)
tree66636510570afb66c3479dec3ec6a874f8bbb9bb /security/apparmor/resource.c
parent37923d4321b1e38170086da2c117f78f2b0f49c6 (diff)
apparmor: Fix spelling of function name in comment block
'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>
Diffstat (limited to 'security/apparmor/resource.c')
-rw-r--r--security/apparmor/resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c
index 1b75d8343a8d..e85948164896 100644
--- a/security/apparmor/resource.c
+++ b/security/apparmor/resource.c
@@ -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.