summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-26 22:15:05 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-01-26 22:15:05 +0000
commit53dda693dc539e96f2464ffd8cb6c2ff3f366696 (patch)
treeb5e42a63bd4664c7131c3610d7419727b121829d /sys/arch/hppa
parent5ebd079b39b241cfc9ca571cf5225308222771f5 (diff)
constify nam2blk
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/autoconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/autoconf.c b/sys/arch/hppa/hppa/autoconf.c
index d7c1b7032a7..5e43f59e940 100644
--- a/sys/arch/hppa/hppa/autoconf.c
+++ b/sys/arch/hppa/hppa/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.10 2000/04/06 20:05:39 todd Exp $ */
+/* $OpenBSD: autoconf.c,v 1.11 2001/01/26 22:15:04 mickey Exp $ */
/*
* Copyright (c) 1998-2000 Michael Shalayeff
@@ -212,8 +212,8 @@ bad:
return;
}
-struct nam2blk {
- char *name;
+const struct nam2blk {
+ char name[4];
int maj;
} nam2blk[] = {
{ "st", 2 },