Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/bebox/bebox Add a missing const



details:   https://anonhg.NetBSD.org/src/rev/f3c1e2b37da3
branches:  trunk
changeset: 581927:f3c1e2b37da3
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Jun 10 15:42:55 2005 +0000

description:
Add a missing const

diffstat:

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

diffs (27 lines):

diff -r a0edd27dcf01 -r f3c1e2b37da3 sys/arch/bebox/bebox/disksubr.c
--- a/sys/arch/bebox/bebox/disksubr.c   Fri Jun 10 15:42:41 2005 +0000
+++ b/sys/arch/bebox/bebox/disksubr.c   Fri Jun 10 15:42:55 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disksubr.c,v 1.16 2003/10/08 04:25:44 lukem Exp $      */
+/*     $NetBSD: disksubr.c,v 1.17 2005/06/10 15:42:55 jmc Exp $        */
 
 /*
  * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.16 2003/10/08 04:25:44 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.17 2005/06/10 15:42:55 jmc Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -136,7 +136,7 @@
        struct dkbad *bdp;
        struct buf *bp;
        struct disklabel *dlp;
-       char *msg = NULL;
+       const char *msg = NULL;
        int dospartoff, cyl, i, *ip;
 
        /* minimal requirements for archtypal disk label */



Home | Main Index | Thread Index | Old Index