From 1f0262bcdb352e9a75a4e5f48cd63d05714e2859 Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Thu, 20 Oct 2005 11:17:48 +0000 Subject: another more const --- util-linux/readprofile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util-linux/readprofile.c') diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c index 5144de711..80716d9f0 100644 --- a/util-linux/readprofile.c +++ b/util-linux/readprofile.c @@ -58,14 +58,14 @@ #define S_LEN 128 /* These are the defaults */ -static char defaultmap[]="/boot/System.map"; -static char defaultpro[]="/proc/profile"; +static const char defaultmap[]="/boot/System.map"; +static const char defaultpro[]="/proc/profile"; int readprofile_main(int argc, char **argv) { FILE *map; int proFd; - char *mapFile, *proFile, *mult=0; + const char *mapFile, *proFile, *mult=0; unsigned long len=0, indx=1; unsigned long long add0=0; unsigned int step; -- cgit v1.2.3-55-g6feb