Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/algor/algor Adapt to compiling with -Wcast-qual by ...



details:   https://anonhg.NetBSD.org/src/rev/974f9948ddb5
branches:  trunk
changeset: 581881:974f9948ddb5
user:      he <he%NetBSD.org@localhost>
date:      Thu Jun 09 06:48:44 2005 +0000

description:
Adapt to compiling with -Wcast-qual by adding a const.

diffstat:

 sys/arch/algor/algor/disksubr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 91d6acf38409 -r 974f9948ddb5 sys/arch/algor/algor/disksubr.c
--- a/sys/arch/algor/algor/disksubr.c   Thu Jun 09 06:48:16 2005 +0000
+++ b/sys/arch/algor/algor/disksubr.c   Thu Jun 09 06:48:44 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disksubr.c,v 1.8 2003/05/10 23:12:28 thorpej Exp $     */
+/*     $NetBSD: disksubr.c,v 1.9 2005/06/09 06:48:44 he Exp $  */
 
 /*
  * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.8 2003/05/10 23:12:28 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.9 2005/06/09 06:48:44 he Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -57,7 +57,7 @@
        struct buf *bp;
        struct disklabel *dlp;
        struct dkbad *bdp;
-       char *msg = NULL;
+       const char *msg = NULL;
        int i;
 
        /* minimal requirements for archtypal disk label */



Home | Main Index | Thread Index | Old Index