Add a missing const

This commit is contained in:
jmc 2005-06-10 15:42:55 +00:00
parent 972e095c1e
commit 91e04b9035
1 changed files with 3 additions and 3 deletions

View File

@ -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 @@ readdisklabel(dev, strat, lp, osdep)
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 */