Add a const.
This commit is contained in:
parent
45cee85f31
commit
9593fc1854
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: disksubr.c,v 1.21 2005/05/24 10:06:43 tsutsui Exp $ */
|
||||
/* $NetBSD: disksubr.c,v 1.22 2005/06/02 14:36:25 tsutsui 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.21 2005/05/24 10:06:43 tsutsui Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.22 2005/06/02 14:36:25 tsutsui Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -55,7 +55,7 @@ readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp,
|
||||
{
|
||||
struct buf *bp;
|
||||
struct disklabel *dlp;
|
||||
char *msg = NULL;
|
||||
const char *msg = NULL;
|
||||
int i;
|
||||
|
||||
if (lp->d_secsize == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user