Skip to content

Commit

Permalink
acct: constify the name arg to acct_on
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
jtlayton authored and Al Viro committed Oct 12, 2012
1 parent a608ca2 commit cfd4da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/acct.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cfd4da1

Please sign in to comment.