summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2005-05-31 00:47:54 +0000
committerchristos <christos@NetBSD.org>2005-05-31 00:47:54 +0000
commit309409f7e46cfa9e41b5a61cd2a93bc993bb861b (patch)
treed305a53ae3ae8368b9082267de7372d192504005 /sys/dev
parent8bbce26c8135a924fdcd34ecdb3f10d573d4bfb4 (diff)
add a missing const.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sun/disksubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sun/disksubr.c b/sys/dev/sun/disksubr.c
index f197dc1f528..be1a26a49f9 100644
--- a/sys/dev/sun/disksubr.c
+++ b/sys/dev/sun/disksubr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.5 2005/05/30 22:17:11 christos Exp $ */
+/* $NetBSD: disksubr.c,v 1.6 2005/05/31 00:47:54 christos Exp $ */
/*
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -55,7 +55,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.5 2005/05/30 22:17:11 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.6 2005/05/31 00:47:54 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -72,7 +72,7 @@ __KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.5 2005/05/30 22:17:11 christos Exp $"
#error "Default value of LABELSECTOR no longer zero?"
#endif
-static char *disklabel_sun_to_bsd(char *, struct disklabel *);
+static const char *disklabel_sun_to_bsd(char *, struct disklabel *);
static int disklabel_bsd_to_sun(struct disklabel *, char *);
/*