aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/services.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/ss/services.c')
-rw-r--r--security/selinux/ss/services.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c
index 4a14348de876..face5795c760 100644
--- a/security/selinux/ss/services.c
+++ b/security/selinux/ss/services.c
@@ -413,7 +413,7 @@ static int context_struct_compute_av(struct context *scontext,
413 return 0; 413 return 0;
414 414
415inval_class: 415inval_class:
416 printk(KERN_ERR "%s: unrecognized class %d\n", __FUNCTION__, tclass); 416 printk(KERN_ERR "%s: unrecognized class %d\n", __func__, tclass);
417 return -EINVAL; 417 return -EINVAL;
418} 418}
419 419
@@ -2206,7 +2206,7 @@ int security_get_permissions(char *class, char ***perms, int *nperms)
2206 match = hashtab_search(policydb.p_classes.table, class); 2206 match = hashtab_search(policydb.p_classes.table, class);
2207 if (!match) { 2207 if (!match) {
2208 printk(KERN_ERR "%s: unrecognized class %s\n", 2208 printk(KERN_ERR "%s: unrecognized class %s\n",
2209 __FUNCTION__, class); 2209 __func__, class);
2210 rc = -EINVAL; 2210 rc = -EINVAL;
2211 goto out; 2211 goto out;
2212 } 2212 }