aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/gnttab.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-15 15:27:08 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-15 15:27:08 +0000
commit5f3c8af40d85f8112fa146a66adbc31a6a41ba2f (patch)
treeb6a3dee8371785f3a12fd85d07caef047bf32d22 /extras/mini-os/gnttab.c
parent4da77d5b3ff6ec26b384c972406140d50e127f70 (diff)
downloadxen-5f3c8af40d85f8112fa146a66adbc31a6a41ba2f.tar.gz
xen-5f3c8af40d85f8112fa146a66adbc31a6a41ba2f.tar.bz2
xen-5f3c8af40d85f8112fa146a66adbc31a6a41ba2f.zip
minios: Fix an extern declaration and add an extra 'const' to
definition of a constant set of constant error strings. Issues identified by Armand Puccetti. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'extras/mini-os/gnttab.c')
-rw-r--r--extras/mini-os/gnttab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mini-os/gnttab.c b/extras/mini-os/gnttab.c
index 4d75897a98..b22f51ceae 100644
--- a/extras/mini-os/gnttab.c
+++ b/extras/mini-os/gnttab.c
@@ -135,7 +135,7 @@ gnttab_alloc_and_grant(void **map)
return gref;
}
-static const char *gnttabop_error_msgs[] = GNTTABOP_error_msgs;
+static const char * const gnttabop_error_msgs[] = GNTTABOP_error_msgs;
const char *
gnttabop_error(int16_t status)