summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-10-10 19:25:27 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-12 04:32:03 (GMT)
commitcfd4da175599938f21a81cdd80df02fa4151dcba (patch)
treefa4cf90f56ff4113689348c70e72426c98515d2c
parenta608ca21f58ee44df5a71ba140e98498f3ebc2cd (diff)
downloadlinux-cfd4da175599938f21a81cdd80df02fa4151dcba.tar.xz
acct: constify the name arg to acct_on
Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--kernel/acct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/acct.c b/kernel/acct.c
index 6cd7529..5be0101 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -193,7 +193,7 @@ static void acct_file_reopen(struct bsd_acct_struct *acct, struct file *file,
}
}
-static int acct_on(char *name)
+static int acct_on(const char *name)
{
struct file *file;
struct vfsmount *mnt;