diff options
author | John Johansen <john.johansen@canonical.com> | 2017-01-16 09:42:30 +0100 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-01-16 10:18:26 +0100 |
commit | bbe4a7c8733c925b061dcce2d1af8926cefbe539 (patch) | |
tree | b0ccd2d4668dfc3de53a88cfe16eb91eaf4419fb /security/apparmor/apparmorfs.c | |
parent | apparmor: rename hname_tail to basename (diff) | |
download | linux-bbe4a7c8733c925b061dcce2d1af8926cefbe539.tar.xz linux-bbe4a7c8733c925b061dcce2d1af8926cefbe539.zip |
apparmor: constify policy name and hname
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/apparmorfs.c')
-rw-r--r-- | security/apparmor/apparmorfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c index d7cfd79d9857..96a02ee9c499 100644 --- a/security/apparmor/apparmorfs.c +++ b/security/apparmor/apparmorfs.c @@ -38,7 +38,7 @@ * * Returns: length of mangled name */ -static int mangle_name(char *name, char *target) +static int mangle_name(const char *name, char *target) { char *t = target; |