]> Pileus Git - ~andy/linux/blobdiff - kernel/acct.c
acct: constify the name arg to acct_on
[~andy/linux] / kernel / acct.c
index 6cd7529c9e6a31a7702c77f38c45289f72d907b8..5be01017d30febe251e8fe5a6906414e7ba5568d 100644 (file)
@@ -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;