From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Layton Subject: [PATCH v1 03/10] acct: constify the name arg to acct_on Date: Fri, 7 Sep 2012 09:37:58 -0400 Message-ID: <1347025085-20285-4-git-send-email-jlayton@redhat.com> References: <1347025085-20285-1-git-send-email-jlayton@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (ext-mx14.extmail.prod.ext.phx2.redhat.com [10.5.110.19]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q87DcZDd018242 for ; Fri, 7 Sep 2012 09:38:35 -0400 Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q87DcCrZ025267 for ; Fri, 7 Sep 2012 09:38:35 -0400 Received: by mail-vb0-f46.google.com with SMTP id ff1so3893972vbb.33 for ; Fri, 07 Sep 2012 06:38:34 -0700 (PDT) In-Reply-To: <1347025085-20285-1-git-send-email-jlayton@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-audit@redhat.com, linux-kernel@vger.kernel.org List-Id: linux-audit@redhat.com Signed-off-by: Jeff Layton --- kernel/acct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/acct.c b/kernel/acct.c index 02e6167..e97d159 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; -- 1.7.11.4