From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Layton Subject: [PATCH v2 03/10] acct: constify the name arg to acct_on Date: Thu, 20 Sep 2012 10:23:12 -0400 Message-ID: <1348150999-13028-4-git-send-email-jlayton@redhat.com> References: <1348150999-13028-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-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q8KENVNa013020 for ; Thu, 20 Sep 2012 10:23:31 -0400 Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com [209.85.216.46]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q8KENSDF008397 for ; Thu, 20 Sep 2012 10:23:30 -0400 Received: by mail-qa0-f46.google.com with SMTP id s11so432338qaa.12 for ; Thu, 20 Sep 2012 07:23:30 -0700 (PDT) In-Reply-To: <1348150999-13028-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, acme@ghostprotocols.net 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