diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-10-10 15:25:27 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-12 00:32:03 -0400 |
commit | cfd4da175599938f21a81cdd80df02fa4151dcba (patch) | |
tree | fa4cf90f56ff4113689348c70e72426c98515d2c | |
parent | a608ca21f58ee44df5a71ba140e98498f3ebc2cd (diff) | |
download | linux-cfd4da175599938f21a81cdd80df02fa4151dcba.tar.gz linux-cfd4da175599938f21a81cdd80df02fa4151dcba.tar.bz2 linux-cfd4da175599938f21a81cdd80df02fa4151dcba.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/acct.c b/kernel/acct.c index 6cd7529c9e6a..5be01017d30f 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; |