From owner-freebsd-bugs Tue Jun 25 18:31:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0558C37B407 for ; Tue, 25 Jun 2002 18:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5Q1U1743776; Tue, 25 Jun 2002 18:30:01 -0700 (PDT) (envelope-from gnats) Received: from xkulesh.vol.cz (xkulesh.vol.cz [195.250.154.106]) by hub.freebsd.org (Postfix) with ESMTP id 9CDB337B404 for ; Tue, 25 Jun 2002 18:20:33 -0700 (PDT) Received: from obluda.cz (localhost [127.0.0.1]) by xkulesh.vol.cz (8.12.3/8.12.3) with ESMTP id g5Q1KUTt057822 for ; Wed, 26 Jun 2002 03:20:30 +0200 (CEST) (envelope-from dan@obluda.cz) Received: (from root@localhost) by obluda.cz (8.12.4/8.12.4/Submit) id g5Q1FemO057794; Wed, 26 Jun 2002 03:15:40 +0200 (CEST) Message-Id: <200206260115.g5Q1FemO057794@obluda.cz> Date: Wed, 26 Jun 2002 03:15:40 +0200 (CEST) From: Dan Lukes Reply-To: Dan Lukes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/39867: cleaning sbin/mount_cd9660 and sbin/mount_ext2fs code from warnings Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39867 >Category: bin >Synopsis: cleaning sbin/mount_cd9660 and sbin/mount_ext2fs code from warnings >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 25 18:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 4.6-STABLE i386 >Organization: Obludarium >Environment: System: FreeBSD xkulesh.vol.cz 4.6-STABLE FreeBSD src/sbin/mount_cd9660/mount_cd9660.c,v 1.15.2.3 2001/03/14 12:05:01 >Description: sbin/mount_cd9660/mount_cd9660.c:42: warning: `copyright' defined but not used sbin/mount_ext2fs/mount_ext2fs.c:35: warning: `copyright' defined but not used 'const' keyword resolve it >How-To-Repeat: N/A >Fix: --- sbin/dump/mount_cd9660.c.ORIG Sun Mar 18 22:40:49 2001 +++ sbin/dump/mount_cd9660.c Wed Jun 26 03:02:02 2002 @@ -39,7 +39,7 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1992, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ --- mount_ext2fs.c.ORIG Sat Oct 9 13:54:09 1999 +++ mount_ext2fs.c Wed Jun 26 03:05:13 2002 @@ -32,7 +32,7 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message