From 1786d6362ca651fbbb84668ac3b9c87eb4056c02 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 2002 09:29:40 +0000 Subject: 2002-05-07 Roland McGrath * default_pager.c (part_id): Add const to argument type. --- serverboot/default_pager.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'serverboot/default_pager.c') diff --git a/serverboot/default_pager.c b/serverboot/default_pager.c index be6b13be..f0cb4d49 100644 --- a/serverboot/default_pager.c +++ b/serverboot/default_pager.c @@ -142,8 +142,7 @@ void set_partition_of(x, p) * Saves space, filenames can be long. */ unsigned int -part_id(name) - unsigned char *name; +part_id(const unsigned char *name) { register unsigned int len, id, xorid; -- cgit v1.2.3